linux5.5: enable navi gpu recovery
This commit is contained in:
parent
402ce7a5eb
commit
a88b9490c7
1 changed files with 29 additions and 0 deletions
29
srcpkgs/linux5.5/patches/navi-enable-reset.patch
Normal file
29
srcpkgs/linux5.5/patches/navi-enable-reset.patch
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
From 658c663947b04b1f8a2fd061a3ef767983c880e5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alex Deucher <alexander.deucher@amd.com>
|
||||||
|
Date: Mon, 27 Jan 2020 14:31:49 -0500
|
||||||
|
Subject: [PATCH] drm/amdgpu: enable GPU reset by default on Navi
|
||||||
|
|
||||||
|
Has been working fine for a while.
|
||||||
|
|
||||||
|
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
|
||||||
|
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
||||||
|
---
|
||||||
|
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
|
||||||
|
index 990f8e64a4d5..2f15e2f6d336 100644
|
||||||
|
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
|
||||||
|
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
|
||||||
|
@@ -3684,5 +3684,8 @@ bool amdgpu_device_should_recover_gpu(struct amdgpu_device *adev)
|
||||||
|
case CHIP_VEGA12:
|
||||||
|
case CHIP_RAVEN:
|
||||||
|
+ case CHIP_NAVI10:
|
||||||
|
+ case CHIP_NAVI14:
|
||||||
|
+ case CHIP_NAVI12:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
goto disabled;
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
Loading…
Reference in a new issue