[Intel-xe] [PATCH 6/9] fixup! drm/xe/display: Implement display support

Jani Nikula jani.nikula at intel.com
Fri Aug 11 09:35:56 UTC 2023


intel_display_irq_uninstall() seems to be unused. Remove it, along with
the somewhat useless comment.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 drivers/gpu/drm/xe/display/ext/i915_irq.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/drivers/gpu/drm/xe/display/ext/i915_irq.c b/drivers/gpu/drm/xe/display/ext/i915_irq.c
index 216cd6e6e7e3..bee191a4a97d 100644
--- a/drivers/gpu/drm/xe/display/ext/i915_irq.c
+++ b/drivers/gpu/drm/xe/display/ext/i915_irq.c
@@ -6,7 +6,6 @@
 #include "i915_drv.h"
 #include "i915_irq.h"
 #include "i915_reg.h"
-#include "intel_hotplug.h"
 #include "intel_uncore.h"
 
 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr,
@@ -56,19 +55,6 @@ void gen3_irq_init(struct intel_uncore *uncore,
 	intel_uncore_posting_read(uncore, imr);
 }
 
-/**
- * DOC: interrupt handling
- *
- * These functions provide the basic support for enabling and disabling the
- * interrupt handling support. There's a lot more functionality in i915_irq.c
- * and related files, but that will be described in separate chapters.
- */
-
-void intel_display_irq_uninstall(struct drm_i915_private *dev_priv)
-{
-	intel_hpd_cancel_work(dev_priv);
-}
-
 bool intel_irqs_enabled(struct xe_device *xe)
 {
 	/*
-- 
2.39.2



More information about the Intel-xe mailing list