diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4474-drm-amd-display-Renoir-chroma-viewport-WA-Read-the-c.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4474-drm-amd-display-Renoir-chroma-viewport-WA-Read-the-c.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4474-drm-amd-display-Renoir-chroma-viewport-WA-Read-the-c.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4474-drm-amd-display-Renoir-chroma-viewport-WA-Read-the-c.patch new file mode 100644 index 00000000..9efd8311 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4474-drm-amd-display-Renoir-chroma-viewport-WA-Read-the-c.patch @@ -0,0 +1,40 @@ +From bf8935938a1e4b88d9c1edea7ff93957b2d096e7 Mon Sep 17 00:00:00 2001 +From: Joseph Gravenor <joseph.gravenor@amd.com> +Date: Thu, 24 Oct 2019 13:55:10 -0400 +Subject: [PATCH 4474/4736] 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> +--- + drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 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 d86b6b6211bc..32e8b589aeb5 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c +@@ -200,8 +200,8 @@ void hubp21_set_viewport( + int pte_row_height = 0; + int pte_rows = 0; + +- REG_GET(DCHUBP_REQ_SIZE_CONFIG, +- PTE_ROW_HEIGHT_LINEAR, &pte_row_height); ++ REG_GET(DCHUBP_REQ_SIZE_CONFIG_C, ++ PTE_ROW_HEIGHT_LINEAR_C, &pte_row_height); + + pte_row_height = 1 << (pte_row_height + 3); + pte_rows = (viewport_c->height / pte_row_height) + 1; +-- +2.17.1 + |