drm/amd/display: Renoir chroma viewport WA Read the correct register
authorJoseph Gravenor <joseph.gravenor@amd.com>
Thu, 24 Oct 2019 17:55:10 +0000 (13:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:51 +0000 (10:12 -0500)
commitdb8ff9d38c18bed7dad5bf757d6e141603922c2b
tree6a381fec7a49361f02a258c89e06509412815582
parente6b268dde4cdc4d0b35eb7997520327183957294
drm/amd/display: Renoir chroma viewport WA Read the correct register

[why]
Before we were reading registers specific to luma size, which caused a black line
to appear on the screen from time to time, as although the luma row height
is generally the same as the chroma row height for the video case, it will sometimes
be one more

[how]
Read the register specific for the chroma size

Signed-off-by: Joseph Gravenor <joseph.gravenor@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c