Re: [Nouveau] [PATCH v5 10/13] drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()

2018-08-10 Thread Karol Herbst
Reviewed-by: Karol Herbst On Tue, Aug 7, 2018 at 10:39 PM, Lyude Paul wrote: > It's true we can't resume the device from poll workers in > nouveau_connector_detect(). We can however, prevent the autosuspend > timer from elapsing immediately if it hasn't already without risking any > sort of

[Nouveau] [PATCH v5 10/13] drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()

2018-08-07 Thread Lyude Paul
It's true we can't resume the device from poll workers in nouveau_connector_detect(). We can however, prevent the autosuspend timer from elapsing immediately if it hasn't already without risking any sort of deadlock with the runtime suspend/resume operations. So do that instead of entirely