projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df8368b
)
drm/amd/powerplay: fix raven issue for sw smu
author
Huang Rui
<ray.huang@amd.com>
Wed, 27 Feb 2019 10:51:01 +0000
(18:51 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:03 +0000
(15:04 -0500)
Raven series doesn't support sw smu so far, so we have to add checking to
confirm it return false while the asic is raven.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index
fe2f7e2
..
00b7c88
100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@
-138,7
+138,7
@@
bool is_support_sw_smu(struct amdgpu_device *adev)
if (amdgpu_dpm != 1)
return false;
- if (adev->asic_type >= CHIP_VEGA20)
+ if (adev->asic_type >= CHIP_VEGA20
&& adev->asic_type != CHIP_RAVEN
)
return true;
return false;