This is v2 of [1] fixing the initialization of plane_alignment in patch 5 and issues reported by checkpatch, sparse. Also the last patch in this series adds a description to drm_fourcc.h about the main and CCS surface stride requirements for all CCS modifiers on ADL-P. The corresponding IGT changes are at: https://patchwork.freedesktop.org/series/94107/ [1] https://patchwork.freedesktop.org/series/94108/ Test-with: 20210906181736.3914421-1-imre.deak@xxxxxxxxx Cc: Juha-Pekka Heikkila <juhapekka.heikkila@xxxxxxxxx> Cc: Nanley G Chery <nanley.g.chery@xxxxxxxxx> Imre Deak (6): 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 drm/fourcc: Add the ADL-P specific pitch requirements of CCS modifiers 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 | 171 ++++++++++++------ .../drm/i915/display/skl_universal_plane.c | 5 + drivers/gpu/drm/i915/gt/intel_ggtt.c | 29 ++- drivers/gpu/drm/i915/i915_vma_types.h | 7 +- include/uapi/drm/drm_fourcc.h | 24 ++- 7 files changed, 174 insertions(+), 69 deletions(-) -- 2.27.0