drm/amd/amdgpu: hide voltage and power sensors on SI and KV parts
authorJean Delvare <jdelvare@suse.de>
Wed, 28 Aug 2019 08:27:29 +0000 (10:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Aug 2019 20:52:32 +0000 (15:52 -0500)
commit1cdd229bec36212261f69702464913b5c2581d4d
treedb67fec678158cf740e43de046376ceddf10da7f
parente352625796b343cc85b7648a74a57e739b12dc27
drm/amd/amdgpu: hide voltage and power sensors on SI and KV parts

The driver does not support these sensors yet and there is no point in
creating sysfs attributes which will always return an error.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c