diff options
author | Anthony Koo <Anthony.Koo@amd.com> | 2019-11-15 14:58:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-05 16:31:58 -0500 |
commit | ddba76274fd59e664f4ea82ca45ea13d179ef179 (patch) | |
tree | 199eb07c4f5145ba679910010e57b024e06bbf56 /drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c | |
parent | 799a5f74d11ef7c2e8d86b143d4f1b64793411b6 (diff) | |
download | linux-ddba76274fd59e664f4ea82ca45ea13d179ef179.tar.gz |
drm/amd/display: Limit NV12 chroma workaround
[Why]
It is causing green Line at the bottom of SDR 480p
MPO playback
[How]
Limit workaround to vertical > 512
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c index 38661b9c61f8..332bf3d3a664 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c +++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c @@ -200,7 +200,7 @@ void hubp21_set_viewport( * Disable w/a when rotated 180 degrees, causes vertical chroma offset */ patched_viewport_height = viewport_c->height; - if (viewport_c->height != 0 && debug->nv12_iflip_vm_wa && + if (debug->nv12_iflip_vm_wa && viewport_c->height > 512 && rotation != ROTATION_ANGLE_180) { int pte_row_height = 0; int pte_rows = 0; |