]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87fd5d4190092a3bdfca131f88aa796c7df7436d
tree066a007075762cc42122892f4acc57be2a87af5d
parent06b833c85d7fa91fa2df4c00235702832744d0ff
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