]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Renoir chroma viewport WA
authorEric Yang <Eric.Yang2@amd.com>
Fri, 11 Oct 2019 19:34:20 +0000 (15:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:43 +0000 (15:29 -0500)
commitd8ce59c44c24ac116216147edf57fd0e73dc16c6
treec4f8e172fc29fa1ef1821df6ae22f0589fb2deab
parentd7e6a205f232711510588b08238b2d87eccc479c
drm/amd/display: Renoir chroma viewport WA

[Why]
For unknown reason, immediate flip with host VM translation on NV12
surface will underflow on last row of PTE.

[How]
Hack chroma viewport height to make fetch one more row of PTE.
Note that this will cause hubp underflow on all video underlay
cases, but the underflow is not user visible since it is in
blank region.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c