Re: [PATCH 03/13] drm/i915/dmc_wl: Check for non-zero refcount in release work

2024-11-01 Thread Luca Coelho
On Mon, 2024-10-21 at 19:27 -0300, Gustavo Sousa wrote: > When the DMC wakelock refcount reaches zero, we know that there are no > users and that we can do the actual release operation on the hardware, > which is queued with a delayed work. The idea of the delayed work is to > avoid performing the

[PATCH 03/13] drm/i915/dmc_wl: Check for non-zero refcount in release work

2024-10-21 Thread Gustavo Sousa
When the DMC wakelock refcount reaches zero, we know that there are no users and that we can do the actual release operation on the hardware, which is queued with a delayed work. The idea of the delayed work is to avoid performing the release if a new lock user appears (i.e. refcount gets increment