mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
drm/i915/fb: Reject per-plane remapping with DPT
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> Link: https://patch.msgid.link/20260407155053.32156-4-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
e538f2a7be
commit
8910a07b10
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user