linux-stable/drivers/gpu
Josip Pavic a0275dfc82 drm/amd/display: fix dcc swath size calculations on dcn1
[Why]
Swath sizes are being calculated incorrectly. The horizontal swath size
should be the product of block height, viewport width, and bytes per
element, but the calculation uses viewport height instead of width. The
vertical swath size is similarly incorrectly calculated. The effect of
this is that we report the wrong DCC caps.

[How]
Use viewport width in the horizontal swath size calculation and viewport
height in the vertical swath size calculation.

Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-05 09:42:08 -05:00
..
drm drm/amd/display: fix dcc swath size calculations on dcn1 2020-03-05 09:42:08 -05:00
host1x drm/tegra: Fixes for v5.6-rc1 2020-02-07 12:22:30 +10:00
ipu-v3
vga vga: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
Makefile