aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorDhinakaran Pandiyan <[email protected]>2019-12-21 12:05:41 +0000
committerImre Deak <[email protected]>2019-12-23 11:51:01 +0000
commit931cd348bb8dc9374b9561846be149bfae7571b6 (patch)
treee158fa45933a76a64caed73e2fdbaf2e76b3bdc9 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/i915/tgl: Make sure FBs have a correct CCS plane stride (diff)
downloadkernel-931cd348bb8dc9374b9561846be149bfae7571b6.tar.gz
kernel-931cd348bb8dc9374b9561846be149bfae7571b6.zip
drm/i915: Skip rotated offset adjustment for unsupported modifiers
During framebuffer creation, we pre-compute offsets for 90/270 plane rotation. However, only Y and Yf modifiers support 90/270 rotation. So, skip the calculations for other modifiers. To keep the gem buffer size check still working for tiled planes, factor out the logic needed for rotation setup and skip only this part for tiled planes other than Y/Yf. v2: Add a bounds check WARN for the rotation info array. v3: Keep the gem buffer size check working for tiled planes. Cc: Matt Roper <[email protected]> Cc: Ville Syrjälä <[email protected]> Cc: Mika Kahola <[email protected]> Signed-off-by: Dhinakaran Pandiyan <[email protected]> Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Mika Kahola <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions