aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/1661-drm-amdgpu-add-one-rlc-version-into-gfxoff-blacklist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1661-drm-amdgpu-add-one-rlc-version-into-gfxoff-blacklist.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/1661-drm-amdgpu-add-one-rlc-version-into-gfxoff-blacklist.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1661-drm-amdgpu-add-one-rlc-version-into-gfxoff-blacklist.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1661-drm-amdgpu-add-one-rlc-version-into-gfxoff-blacklist.patch
new file mode 100644
index 00000000..3037fb45
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1661-drm-amdgpu-add-one-rlc-version-into-gfxoff-blacklist.patch
@@ -0,0 +1,30 @@
+From 46cb2ccba935b23a5a4fd00c488409b31179563d Mon Sep 17 00:00:00 2001
+From: Huang Rui <ray.huang@amd.com>
+Date: Tue, 19 Mar 2019 21:25:12 +0800
+Subject: [PATCH 1661/2940] drm/amdgpu: add one rlc version into gfxoff
+ blacklist
+
+RLC #53815 ucode has the noise issue on 4k playback while gfxoff enabled.
+
+Signed-off-by: Huang Rui <ray.huang@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Tested-by: Tom St Denis <tom.stdenis@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 db5f9e46862a..5d6004710b7a 100644
+--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+@@ -589,6 +589,7 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
+ if (adev->rev_id >= 0x8 || adev->pdev->device == 0x15d8)
+ break;
+ if ((adev->gfx.rlc_fw_version < 531) ||
++ (adev->gfx.rlc_fw_version == 53815) ||
+ (adev->gfx.rlc_feature_version < 1) ||
+ !adev->gfx.rlc.is_rlc_v2_1)
+ adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
+--
+2.17.1
+