Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/display: Fix BMG CCS modifiers
@ 2024-08-29 12:29 Juha-Pekka Heikkila
  2024-08-29 14:29 ` Rodrigo Vivi
  2024-08-29 15:18 ` ✓ Fi.CI.BAT: success for " Patchwork
  0 siblings, 2 replies; 7+ messages in thread
From: Juha-Pekka Heikkila @ 2024-08-29 12:29 UTC (permalink / raw)
  To: intel-xe, intel-gfx
  Cc: Juha-Pekka Heikkila, imre.deak, rodrigo.vivi, maarten.lankhorst

Let I915_FORMAT_MOD_4_TILED_BMG_CCS show up as supported modifier

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
 drivers/gpu/drm/i915/display/skl_universal_plane.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.c b/drivers/gpu/drm/i915/display/skl_universal_plane.c
index 9452cad41d07..d28b98e7cbd7 100644
--- a/drivers/gpu/drm/i915/display/skl_universal_plane.c
+++ b/drivers/gpu/drm/i915/display/skl_universal_plane.c
@@ -2453,6 +2453,9 @@ static u8 skl_get_plane_caps(struct drm_i915_private *i915,
 	if (gen12_plane_has_mc_ccs(i915, plane_id))
 		caps |= INTEL_PLANE_CAP_CCS_MC;
 
+	if (GRAPHICS_VER(i915) >= 20 && IS_DGFX(i915))
+		caps |= INTEL_PLANE_CAP_NEED64K_PHYS;
+
 	return caps;
 }
 
-- 
2.45.2


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

end of thread, other threads:[~2024-08-30 11:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29 12:29 [PATCH] drm/i915/display: Fix BMG CCS modifiers Juha-Pekka Heikkila
2024-08-29 14:29 ` Rodrigo Vivi
2024-08-29 14:35   ` Maarten Lankhorst
2024-08-29 14:36   ` Maarten Lankhorst
2024-08-29 15:13     ` Imre Deak
2024-08-30 11:23       ` Juha-Pekka Heikkila
2024-08-29 15:18 ` ✓ Fi.CI.BAT: success for " Patchwork

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