diff options
author | 2019-02-27 18:51:01 +0800 | |
---|---|---|
committer | 2019-03-19 15:04:03 -0500 | |
commit | dff234d275be271d3dadfcd2e8b2d37c26e24fd0 (patch) | |
tree | f60f7549f28354bdaf0e570303a4eb0e708c8a46 | |
parent | drm/amdgpu: Bump amdgpu version for per-flip plane tiling updates (diff) | |
download | linux-dev-dff234d275be271d3dadfcd2e8b2d37c26e24fd0.tar.xz linux-dev-dff234d275be271d3dadfcd2e8b2d37c26e24fd0.zip |
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>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index fe2f7e2abe35..00b7c885772b 100644 --- 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; |