drm/amd/powerplay: hwmon don't check powerplay when sw smu is enabled
authorKevin Wang <kevin1.wang@amd.com>
Thu, 24 Jan 2019 11:14:22 +0000 (19:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:00 +0000 (15:04 -0500)
commit239873fc596a13a7db7811811fd236dd076254b9
tree066a007075762cc42122892f4acc57be2a87af5d
parentf14a323db5b0f6cca18b7908337c84b16b2f4e92
drm/amd/powerplay: hwmon don't check powerplay when sw smu is enabled

when sw-smu is enabled, the driver won't init powerplay structure.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@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