Re: [PATCH v4 8/8] drm/nouveau: Call pm_runtime_get_noresume() from hpd handlers

2018-08-02 Thread Lyude Paul
On Thu, 2018-08-02 at 21:40 +0200, Lukas Wunner wrote: > On Wed, Aug 01, 2018 at 05:14:58PM -0400, Lyude Paul wrote: > > We can't and don't need to try resuming the device from our hotplug > > handlers, but hotplug events are generally something we'd like to keep > > the device awake for whenever p

Re: [PATCH v4 8/8] drm/nouveau: Call pm_runtime_get_noresume() from hpd handlers

2018-08-02 Thread Lukas Wunner
On Wed, Aug 01, 2018 at 05:14:58PM -0400, Lyude Paul wrote: > We can't and don't need to try resuming the device from our hotplug > handlers, but hotplug events are generally something we'd like to keep > the device awake for whenever possible. So, grab a PM ref safely in our > hotplug handlers usi

[PATCH v4 8/8] drm/nouveau: Call pm_runtime_get_noresume() from hpd handlers

2018-08-01 Thread Lyude Paul
We can't and don't need to try resuming the device from our hotplug handlers, but hotplug events are generally something we'd like to keep the device awake for whenever possible. So, grab a PM ref safely in our hotplug handlers using pm_runtime_get_noresume() and mark the device as busy once we're