public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/i915/display: enable ccs modifiers on dg2
@ 2026-04-23 14:11 Juha-Pekka Heikkila
  2026-04-23 14:19 ` ✓ CI.KUnit: success for drm/i915/display: enable ccs modifiers on dg2 (rev2) Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Juha-Pekka Heikkila @ 2026-04-23 14:11 UTC (permalink / raw)
  To: intel-xe, intel-gfx
  Cc: Juha-Pekka Heikkila, Tvrtko Ursulin, Jani Nikula,
	Ville Syrjälä

Since Xe driver aux ccs enablement dg2 ccs modifiers have been
disabled on both Xe and i915 drivers. Here allow dg2 to use
ccs again for framebuffers.

Fixes: 6a99e91a6ca8fec5882450128fb128265f86b32a ("drm/i915/display: Detect AuxCCS support via display parent interface")
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
 drivers/gpu/drm/i915/i915_driver.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_driver.c b/drivers/gpu/drm/i915/i915_driver.c
index d31819758f3d..a4bd4f8e18b2 100644
--- a/drivers/gpu/drm/i915/i915_driver.c
+++ b/drivers/gpu/drm/i915/i915_driver.c
@@ -750,9 +750,8 @@ static bool has_auxccs(struct drm_device *drm)
 {
 	struct drm_i915_private *i915 = to_i915(drm);
 
-	return IS_GRAPHICS_VER(i915, 9, 12) ||
-	       IS_ALDERLAKE_P(i915) ||
-	       IS_METEORLAKE(i915);
+	return IS_GRAPHICS_VER(i915, 9, 12) &&
+		!HAS_FLAT_CCS(i915);
 }
 
 static bool has_fenced_regions(struct drm_device *drm)
-- 
2.43.0


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

end of thread, other threads:[~2026-04-24  0:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-23 14:11 [PATCH v2] drm/i915/display: enable ccs modifiers on dg2 Juha-Pekka Heikkila
2026-04-23 14:19 ` ✓ CI.KUnit: success for drm/i915/display: enable ccs modifiers on dg2 (rev2) Patchwork
2026-04-23 15:28 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-23 18:57 ` [PATCH v2] drm/i915/display: enable ccs modifiers on dg2 Ville Syrjälä
2026-04-23 20:24 ` Matt Roper
2026-04-24  0:08 ` ✗ Xe.CI.FULL: failure for drm/i915/display: enable ccs modifiers on dg2 (rev2) Patchwork

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