2019-06-21 14:07:41 +07:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2019 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_GT__
|
|
|
|
#define __INTEL_GT__
|
|
|
|
|
2019-06-21 14:07:44 +07:00
|
|
|
#include "intel_engine_types.h"
|
2019-06-21 14:07:41 +07:00
|
|
|
#include "intel_gt_types.h"
|
|
|
|
|
2019-06-21 14:07:42 +07:00
|
|
|
struct drm_i915_private;
|
|
|
|
|
|
|
|
void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915);
|
2019-06-21 14:07:41 +07:00
|
|
|
|
2019-06-21 14:07:44 +07:00
|
|
|
void intel_gt_check_and_clear_faults(struct intel_gt *gt);
|
|
|
|
void intel_gt_clear_error_registers(struct intel_gt *gt,
|
|
|
|
intel_engine_mask_t engine_mask);
|
|
|
|
|
2019-06-21 14:07:41 +07:00
|
|
|
#endif /* __INTEL_GT_H__ */
|