diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1610-drm-amdgpu-Update-gc-golden-setting-for-vega-family.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/1610-drm-amdgpu-Update-gc-golden-setting-for-vega-family.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1610-drm-amdgpu-Update-gc-golden-setting-for-vega-family.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1610-drm-amdgpu-Update-gc-golden-setting-for-vega-family.patch new file mode 100644 index 00000000..33041cec --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1610-drm-amdgpu-Update-gc-golden-setting-for-vega-family.patch @@ -0,0 +1,31 @@ +From d164cd490c6812ce4ca14e93353664be16ee66aa Mon Sep 17 00:00:00 2001 +From: shaoyunl <shaoyun.liu@amd.com> +Date: Mon, 11 Mar 2019 11:47:52 -0400 +Subject: [PATCH 1610/2940] drm/amdgpu: Update gc golden setting for vega + family + +GC owner suggested the setting should be applied which is missed by HW default + +Change-Id: I09dd00c64b88f3d736ec1dd67d544fab597b1c28 + +Signed-off-by: shaoyunl <shaoyun.liu@amd.com> +Acked-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +index c0e73a27a869..d207e401322c 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +@@ -222,6 +222,7 @@ static const struct soc15_reg_golden golden_settings_gc_9_1_rv2[] = + + static const struct soc15_reg_golden golden_settings_gc_9_x_common[] = + { ++ SOC15_REG_GOLDEN_VALUE(GC, 0, mmCP_SD_CNTL, 0xffffffff, 0x000001ff), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmGRBM_CAM_INDEX, 0xffffffff, 0x00000000), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmGRBM_CAM_DATA, 0xffffffff, 0x2544c382) + }; +-- +2.17.1 + |