aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.h
diff options
context:
space:
mode:
authorShirish S <shirish.s@amd.com>2021-02-25 21:07:21 +0530
committerAlex Deucher <alexander.deucher@amd.com>2021-02-26 17:23:49 -0500
commite0cd93b7e307cf6920fbc699df04d073c9004c22 (patch)
treec3f8c0a4adeeedc796f9e7c6aaad557319a5bbd2 /drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.h
parente9995d4a3026b104724700397ee9db4cd75445dc (diff)
downloadlinux-e0cd93b7e307cf6920fbc699df04d073c9004c22.tar.gz
amdgpu/pm: read_sensor() report failure apporpriately
report -ENOTSUPP instead of -EINVAL, so that if userspace fails to read sensor data can figure it out the failure correctly. Signed-off-by: Shirish S <shirish.s@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.h')
0 files changed, 0 insertions, 0 deletions