]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf58a20b719e4e9206c284a7793826ab9a3f0b793
treedb67fec678158cf740e43de046376ceddf10da7f
parentaf9e61b17cfc7bc17f570e9c3356752526f61bf2
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