All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/i915/display: Fix BMG CCS modifiers
@ 2024-08-30 13:01 Juha-Pekka Heikkila
  2024-08-30 13:14 ` ✓ CI.Patch_applied: success for drm/i915/display: Fix BMG CCS modifiers (rev2) Patchwork
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Juha-Pekka Heikkila @ 2024-08-30 13:01 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

Fixes: 97c6efb36497 ("drm/i915/display: Plane capability for 64k phys alignment")
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
v2: Do platform comparison w/o checking for gfx version

 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..616f5d40a739 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 (IS_BATTLEMAGE(i915) || ((DISPLAY_VER(i915)) >= 20 && IS_DGFX(i915)))
+		caps |= INTEL_PLANE_CAP_NEED64K_PHYS;
+
 	return caps;
 }
 
-- 
2.45.2


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

end of thread, other threads:[~2024-08-31  1:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 13:01 [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Juha-Pekka Heikkila
2024-08-30 13:14 ` ✓ CI.Patch_applied: success for drm/i915/display: Fix BMG CCS modifiers (rev2) Patchwork
2024-08-30 13:15 ` ✓ CI.checkpatch: " Patchwork
2024-08-30 13:16 ` ✓ CI.KUnit: " Patchwork
2024-08-30 13:39 ` ✓ CI.Build: " Patchwork
2024-08-30 13:41 ` ✓ CI.Hooks: " Patchwork
2024-08-30 13:43 ` ✗ CI.checksparse: warning " Patchwork
2024-08-30 14:14 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-08-30 14:15 ` ✓ CI.BAT: success " Patchwork
2024-08-30 15:42 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev3) Patchwork
2024-08-30 21:12 ` [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Rodrigo Vivi
2024-08-31  1:03 ` ✗ CI.FULL: failure for drm/i915/display: Fix BMG CCS modifiers (rev2) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.