Skip to content
Commit 68bf8b57 authored by Karol Herbst's avatar Karol Herbst Committed by Ben Skeggs
Browse files

drm/nouveau/hwmon: return EINVAL if the GPU is powered down for sensors reads



fixes bogus values userspace gets from hwmon while the GPU is powered down

Signed-off-by: default avatarKarol Herbst <kherbst@redhat.com>
Reviewed-by: default avatarRhys Kidd <rhyskidd@gmail.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent b0f84a84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment