[PATCH 03/12] drm/i915/fb: Reject per-plane remapping with DPT

Ville Syrjala
2026-04-07T15:51:09Z

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

We currently create a single DPT for the entire FB, so we can't
actually do the per-plane remap. Reject it for now.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
drivers/gpu/drm/i915/display/intel_fb.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_fb.c b/drivers/gpu/drm/i915/display/intel_fb.c
index 4b0afea1c456..52a619088e8e 100644
--- a/drivers/gpu/drm/i915/display/intel_fb.c
+++ b/drivers/gpu/drm/i915/display/intel_fb.c
@@ -1252,6 +1252,10 @@ static bool intel_plane_can_remap(const struct intel_plane_state *plane_state)
if (intel_fb_is_ccs_modifier(fb->modifier))
return false;

+ /* TODO implement remapping with DPT */
+ if (intel_fb_uses_dpt(fb))
+ return false;
+
/* Linear needs a page aligned stride for remapping */
if (fb->modifier == DRM_FORMAT_MOD_LINEAR) {
unsigned int alignment = intel_tile_size(display) - 1;
--
2.52.0