projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e91160
)
drm/amdgpu: remove useless code in RAS
author
Guchun Chen
<guchun.chen@amd.com>
Tue, 2 Jun 2020 05:53:09 +0000
(13:53 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 2 Jun 2020 20:47:43 +0000
(16:47 -0400)
Module parameter amdgpu_ras_mask has been involved in
the calculation of ras support capability, so drop this
redundant code.
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index
c4ccc7f
..
9bfe59b
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@
-1938,8
+1938,6
@@
int amdgpu_ras_init(struct amdgpu_device *adev)
goto err_out;
}
- amdgpu_ras_mask &= AMDGPU_RAS_BLOCK_MASK;
-
if (amdgpu_ras_fs_init(adev)) {
r = -EINVAL;
goto err_out;