Add support for remapping CCS FBs on ADL-P, so that the restriction on the power-of-two sized stride and the 2 MB surface offset alignment can be removed. The corresponding IGT changes are at: https://patchwork.freedesktop.org/series/94107/ Tested on SKL, TGL, ADL-P. Test-with: 20210827145756.3342904-1-imre.deak@xxxxxxxxx Imre Deak (5): drm/i915: Use tile block based dimensions for CCS origin x,y check drm/i915/adlp: Require always a power-of-two sized CCS surface stride drm/i915/adlp: Assert that VMAs in DPT start at 0 drm/i915: Follow a new->old platform check order in intel_fb_stride_alignment drm/i915/adlp: Add support for remapping CCS FBs drivers/gpu/drm/i915/display/intel_display.c | 5 +- .../drm/i915/display/intel_display_types.h | 2 - drivers/gpu/drm/i915/display/intel_fb.c | 155 ++++++++++++------ .../drm/i915/display/skl_universal_plane.c | 5 + drivers/gpu/drm/i915/gt/intel_ggtt.c | 28 +++- drivers/gpu/drm/i915/i915_vma_types.h | 7 +- 6 files changed, 145 insertions(+), 57 deletions(-) -- 2.27.0