drm/amdgpu/pm: rework the hwmon visibility settings
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Jan 2018 22:57:19 +0000 (17:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:52 +0000 (14:18 -0500)
commit0d35bc78ecb74e4a9bf20609d6983aeef2102a56
tree71a16440d76586605116d362b16cdb7edfb0146f
parent21a381f79e807052cbb8cb8f855caa6d13a5737b
drm/amdgpu/pm: rework the hwmon visibility settings

Previously we just always exposed everything for asics
supported by powerplay.  Make it a bit more fine grained.
In practice this shouldn't change anything.

Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c