OSDN Git Service

drm/amd/powerplay: fix raven issue for sw smu
authorHuang Rui <ray.huang@amd.com>
Wed, 27 Feb 2019 10:51:01 +0000 (18:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:03 +0000 (15:04 -0500)
commitdff234d275be271d3dadfcd2e8b2d37c26e24fd0
treef60f7549f28354bdaf0e570303a4eb0e708c8a46
parentdf8368be1382b442384507a5147c89978cd60702
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>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c