aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2573-drm-amdgpu-disable-gfxoff-on-navi10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2573-drm-amdgpu-disable-gfxoff-on-navi10.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2573-drm-amdgpu-disable-gfxoff-on-navi10.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2573-drm-amdgpu-disable-gfxoff-on-navi10.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2573-drm-amdgpu-disable-gfxoff-on-navi10.patch
new file mode 100644
index 00000000..8e06af8e
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2573-drm-amdgpu-disable-gfxoff-on-navi10.patch
@@ -0,0 +1,32 @@
+From 019beafeff37dc653c92bd1e2eae2aa887579103 Mon Sep 17 00:00:00 2001
+From: tiancyin <tianci.yin@amd.com>
+Date: Thu, 20 Jun 2019 14:56:17 +0800
+Subject: [PATCH 2573/2940] drm/amdgpu: disable gfxoff on navi10
+
+The gfxoff brings unstability, disable it by default
+
+Change-Id: I43bdab0f93d64f7e207f96157665a2bb232f6956
+Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Signed-off-by: tiancyin <tianci.yin@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+index 0090cba2d24d..16b2bcc590e7 100644
+--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+@@ -447,9 +447,7 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev)
+ {
+ switch (adev->asic_type) {
+ case CHIP_NAVI10:
+- if ((adev->gfx.rlc_fw_version < 85) ||
+- (adev->pm.fw_version < 0x002A0C00))
+- adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
++ adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
+ break;
+ default:
+ break;
+--
+2.17.1
+