projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f9962
)
drm/amdgpu: Enable full reset when RAS is supported on gc v11_0_0
author
Candice Li
<candice.li@amd.com>
Wed, 7 Sep 2022 07:58:59 +0000
(15:58 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:25:39 +0000
(14:25 -0400)
Enable full reset for RAS supported configuration on gc v11_0_0.
v2: simplify the code.
Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/soc21.c
b/drivers/gpu/drm/amd/amdgpu/soc21.c
index
55284b2
..
2e50db3
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc21.c
@@
-421,6
+421,7
@@
static bool soc21_need_full_reset(struct amdgpu_device *adev)
{
switch (adev->ip_versions[GC_HWIP][0]) {
case IP_VERSION(11, 0, 0):
+ return amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__UMC);
case IP_VERSION(11, 0, 2):
return false;
default: