Re: [Nouveau] [PATCH] hwmon: return EINVAL if the GPU is powered down for sensors reads

2019-06-21 Thread Rhys Kidd
On Tue, 18 Jun 2019 at 21:01, Karol Herbst wrote: > fixes bogus values userspace gets from hwmon while the GPU is powered down > > Signed-off-by: Karol Herbst > Looks good to me and successfully tested on my GP107M with runtime power management fixes, so Reviewed-by: Rhys Kidd > --- > drm/

[Nouveau] [PATCH] hwmon: return EINVAL if the GPU is powered down for sensors reads

2019-06-18 Thread Karol Herbst
fixes bogus values userspace gets from hwmon while the GPU is powered down Signed-off-by: Karol Herbst --- drm/nouveau/nouveau_hwmon.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drm/nouveau/nouveau_hwmon.c b/drm/nouveau/nouveau_hwmon.c index 618d8b780..d445c6f3f 100644 --- a