drm/amd/powerplay: fix raven issue for sw smu
Subsystems (2)
PATCH 1/1 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.
--- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +1 -1
@@ -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;
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1551264661-2621-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org
Patch is Reviewed-by: Likun Gao <[email protected]>
Regards,
Likun
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Huang Rui
Sent: Wednesday, February 27, 2019 6:51 PM
To: [email protected]
Cc: Huang, Ray <[email protected]>
Subject: [PATCH] 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.
--- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +1 -1
@@ -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;
--
2.7.4
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx