-
-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy path0001-amdgpu-timeout.patch
More file actions
28 lines (20 loc) · 900 Bytes
/
0001-amdgpu-timeout.patch
File metadata and controls
28 lines (20 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 3e4d6ef627749a90cdedc0e7ddae3eabe7c73bda Mon Sep 17 00:00:00 2001
From: Augsch123 <130238014+Augsch123@users.noreply.github.com>
Date: Wed, 17 May 2023 09:57:33 +0800
Subject: [PATCH] Increase amdgpu_psp timeout
The timeout of some psp commands seems to be too strict for resuming amdgpu in
dom0, resulting in occasional resume failures on some AMD hardwares.
---
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 3f5d13035..fb27ed88d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -248,7 +248,7 @@ static int psp_early_init(void *handle)
psp->adev = adev;
- adev->psp_timeout = 20000;
+ adev->psp_timeout = 50000;
psp_check_pmfw_centralized_cstate_management(psp);
--
2.30.2