mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-15 19:25:13 +00:00
drm/amd/powerplay: fix raven issue for sw smu
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>
This commit is contained in:
parent
df8368be13
commit
dff234d275
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue