diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2020-05-22 20:24:06 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 08:59:20 +0300 |
commit | 92bfc4a196977d75da15f7544fd538e71684ca39 (patch) | |
tree | a1f506023cffd5ae68980cb9b4d34e7f05502819 /drivers/gpu/drm/drm_property.c | |
parent | c0838cbee2d05c3eb8a2b5a3d1ce706a73008044 (diff) | |
download | linux-92bfc4a196977d75da15f7544fd538e71684ca39.tar.xz |
drm/amd/display: Fix VBA chroma calculation for pipe splitting
[Why]
DML failures occur for 420 modes with dynamic pipe
splitting enabled because the ChromaViewport exceeds
the ChromaSurfaceWidth.
This is caused by adding the viewport_width instead
of the viewport_width_c.
This similarly occurs for rotated modes due to the
use of viewport_height instead of viewport_height_c.
[How]
Correct the calculations.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_property.c')
0 files changed, 0 insertions, 0 deletions