summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJosip Pavic <Josip.Pavic@amd.com>2020-02-21 12:26:19 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-25 08:25:49 +0100
commit25c3f96370a1b853b066ce651d63edef20249b06 (patch)
treec22bdddc4e3dfcdbdb6873dff12f0d1cb561ed22 /scripts
parent46c5b0d8dfbb33aec1fa9ed9388ec728cd32d0d7 (diff)
drm/amd/display: fix dcc swath size calculations on dcn1
[ Upstream commit a0275dfc82c9034eefbeffd556cca6dd239d7925 ] [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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions