Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/display: Remove i915_drv.h include
@ 2024-09-17 20:32 Rodrigo Vivi
  2024-09-17 20:38 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Rodrigo Vivi @ 2024-09-17 20:32 UTC (permalink / raw)
  To: intel-xe; +Cc: Rodrigo Vivi, Jani Nikula

Change HAS_DISPLAY towards intel_display and remove one of the
last includes of i915_drv.h in Xe.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/xe/display/xe_display.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index a3131a67e5b1..5cbee5040e91 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -14,7 +14,6 @@
 #include <uapi/drm/xe_drm.h>
 
 #include "soc/intel_dram.h"
-#include "i915_drv.h"		/* FIXME: HAS_DISPLAY() depends on this */
 #include "intel_acpi.h"
 #include "intel_audio.h"
 #include "intel_bw.h"
@@ -35,7 +34,7 @@
 
 static bool has_display(struct xe_device *xe)
 {
-	return HAS_DISPLAY(xe);
+	return HAS_DISPLAY(&xe->display);
 }
 
 /**
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-09-17 23:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17 20:32 [PATCH] drm/xe/display: Remove i915_drv.h include Rodrigo Vivi
2024-09-17 20:38 ` ✓ CI.Patch_applied: success for " Patchwork
2024-09-17 20:38 ` ✓ CI.checkpatch: " Patchwork
2024-09-17 20:39 ` ✓ CI.KUnit: " Patchwork
2024-09-17 20:51 ` ✓ CI.Build: " Patchwork
2024-09-17 20:53 ` ✓ CI.Hooks: " Patchwork
2024-09-17 20:54 ` ✓ CI.checksparse: " Patchwork
2024-09-17 21:13 ` ✓ CI.BAT: " Patchwork
2024-09-17 22:31 ` ✗ CI.FULL: failure " Patchwork
2024-09-17 23:50   ` Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox