summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_iblock.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2021-09-06 21:27:14 +0300
committerImre Deak <imre.deak@intel.com>2021-09-23 17:36:01 +0300
commit3d1adc3d64cfc544044feeca9c892599199f9616 (patch)
treea43bf142efa47b1b8efb581cee80e27d34c00942 /drivers/target/target_core_iblock.c
parent929dd111dcf8395e72635e0e7a4e502a6bb6b3d0 (diff)
downloadlinux-3d1adc3d64cfc544044feeca9c892599199f9616.tar.gz
linux-3d1adc3d64cfc544044feeca9c892599199f9616.tar.bz2
linux-3d1adc3d64cfc544044feeca9c892599199f9616.zip
drm/i915/adlp: Add support for remapping CCS FBs
Add support for remapping CCS FBs on ADL-P to remove the restriction of the power-of-two sized stride and the 2MB surface offset alignment for these FBs. We can only remap the tiles on the main surface, not the tiles on the CCS surface, so userspace has to generate the CCS surface aligning to the POT size padded main surface stride (by programming the AUX pagetable accordingly). For the required AUX pagetable setup, this requires that either the main surface stride is 8 tiles or that the stride is 16 tiles aligned (= 64 kbytes, the area mapped by one AUX PTE). v2: - Init intel_remapped_info::plane_alignment only for remapped views and do this from intel_fb_view_init(). Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210906182715.3915100-6-imre.deak@intel.com
Diffstat (limited to 'drivers/target/target_core_iblock.c')
0 files changed, 0 insertions, 0 deletions