Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/display: Use DISPLAY_VER over GRAPHICS_VER
@ 2025-09-03 17:08 Matt Atwood
  2025-09-03 17:15 ` ✓ CI.KUnit: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Matt Atwood @ 2025-09-03 17:08 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: juhapekka.heikkila, jani.nikula, Matt Atwood

The checks in plane_has_modifier() should check against display version
instead of graphics version.

Bspec: 67165, 70815

Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
---
 drivers/gpu/drm/i915/display/intel_fb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_fb.c b/drivers/gpu/drm/i915/display/intel_fb.c
index b210c3250501..1e4cee857d7b 100644
--- a/drivers/gpu/drm/i915/display/intel_fb.c
+++ b/drivers/gpu/drm/i915/display/intel_fb.c
@@ -563,11 +563,11 @@ static bool plane_has_modifier(struct intel_display *display,
 		return false;
 
 	if (md->modifier == I915_FORMAT_MOD_4_TILED_BMG_CCS &&
-	    (GRAPHICS_VER(i915) < 20 || !display->platform.dgfx))
+	    (DISPLAY_VER(display) < 14 || !display->platform.dgfx))
 		return false;
 
 	if (md->modifier == I915_FORMAT_MOD_4_TILED_LNL_CCS &&
-	    (GRAPHICS_VER(i915) < 20 || display->platform.dgfx))
+	    (DISPLAY_VER(display) < 20 || display->platform.dgfx))
 		return false;
 
 	return true;
-- 
2.50.1


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

end of thread, other threads:[~2025-09-08 21:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 17:08 [PATCH] drm/i915/display: Use DISPLAY_VER over GRAPHICS_VER Matt Atwood
2025-09-03 17:15 ` ✓ CI.KUnit: success for " Patchwork
2025-09-03 17:49 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-03 22:52 ` ✓ Xe.CI.Full: " Patchwork
2025-09-04 16:53 ` [PATCH] " Gustavo Sousa
2025-09-04 16:56   ` Matt Atwood
2025-09-07 19:30     ` Juha-Pekka Heikkilä
2025-09-08 10:29       ` Jani Nikula
2025-09-08 13:26         ` Juha-Pekka Heikkilä
2025-09-08 21:27           ` Matt Atwood

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