linux_dsm_epyc7002/drivers/gpu/drm/amd
Josip Pavic f9b9b6d972 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 00:30:29 -05:00
..
acp drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
amdgpu drm/amdgpu: Rearm IRQ in Navi10 SR-IOV if IRQ lost 2020-03-05 00:28:34 -05:00
amdkfd drm/amdkfd: fix indentation issue 2020-03-05 00:26:45 -05:00
display drm/amd/display: fix dcc swath size calculations on dcn1 2020-03-05 00:30:29 -05:00
include drm/amdkfd: Make get_tile_config() generic 2020-02-28 16:59:20 -05:00
powerplay drm/amdgpu: Add debugfs interface to set arbitrary sclk for navi14 (v2) 2020-03-05 00:27:50 -05:00