diff --git a/srcpkgs/linux5.4/patches/navi-enable-reset.patch b/srcpkgs/linux5.4/patches/navi-enable-reset.patch new file mode 100644 index 00000000000..c882069f185 --- /dev/null +++ b/srcpkgs/linux5.4/patches/navi-enable-reset.patch @@ -0,0 +1,29 @@ +From 658c663947b04b1f8a2fd061a3ef767983c880e5 Mon Sep 17 00:00:00 2001 +From: Alex Deucher +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 +Signed-off-by: Alex Deucher +--- + 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 +