drm/i915: Extract the GuC interrupt handlers
Pull the GuC interrupt handlers out of i915_irq.c. They now use the GT interrupt facilities rather than the central dispatch. Based on a patch by Chris Wilson. Signed-off-by: Andi Shyti <andi.shyti@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191024211642.7688-2-chris@chris-wilson.co.uk
This commit is contained in:
@@ -17,9 +17,6 @@ struct drm_device;
|
||||
struct drm_display_mode;
|
||||
struct drm_i915_private;
|
||||
struct intel_crtc;
|
||||
struct intel_crtc;
|
||||
struct intel_gt;
|
||||
struct intel_guc;
|
||||
struct intel_uncore;
|
||||
|
||||
void intel_irq_init(struct drm_i915_private *dev_priv);
|
||||
@@ -103,12 +100,6 @@ void gen8_irq_power_well_post_enable(struct drm_i915_private *dev_priv,
|
||||
u8 pipe_mask);
|
||||
void gen8_irq_power_well_pre_disable(struct drm_i915_private *dev_priv,
|
||||
u8 pipe_mask);
|
||||
void gen9_reset_guc_interrupts(struct intel_guc *guc);
|
||||
void gen9_enable_guc_interrupts(struct intel_guc *guc);
|
||||
void gen9_disable_guc_interrupts(struct intel_guc *guc);
|
||||
void gen11_reset_guc_interrupts(struct intel_guc *guc);
|
||||
void gen11_enable_guc_interrupts(struct intel_guc *guc);
|
||||
void gen11_disable_guc_interrupts(struct intel_guc *guc);
|
||||
|
||||
bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe,
|
||||
bool in_vblank_irq, int *vpos, int *hpos,
|
||||
|
Reference in New Issue
Block a user