OSDN Git Service

drm/amd/powerplay: don't check hwmgr while using the sw smu
authorHuang Rui <ray.huang@amd.com>
Wed, 23 Jan 2019 11:09:08 +0000 (19:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:59 +0000 (15:03 -0500)
commitad88f0517b239a08b148fbd300de103e8f7a78ef
tree3d13aaef342248fb4dbcec4cfc20b90d0f7f38c5
parent6316f51c4758a421f7e1fcaa8e3717ea1901d550
drm/amd/powerplay: don't check hwmgr while using the sw smu

While using the sw smu path, driver won't init hwmgr structure.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c