Re: [Intel-gfx] [PATCH] drm/i915: Fixing mutex deadlock window at eDP DRRS

2015-03-05 Thread Daniel Vetter
On Wed, Mar 04, 2015 at 02:55:23PM -0800, Rodrigo Vivi wrote: > Looks enough for me... > > Reviewed-by: Rodrigo Vivi > > On Mon, Mar 2, 2015 at 10:41 PM, Ramalingam C wrote: > > In invalidate and flush functions of eDP DRRS, if deferred downclock > > work starts execution at a time window betwe

Re: [Intel-gfx] [PATCH] drm/i915: Fixing mutex deadlock window at eDP DRRS

2015-03-04 Thread Rodrigo Vivi
Looks enough for me... Reviewed-by: Rodrigo Vivi On Mon, Mar 2, 2015 at 10:41 PM, Ramalingam C wrote: > In invalidate and flush functions of eDP DRRS, if deferred downclock > work starts execution at a time window between acquiring the drrs > mutex and cancellation of the deferred work > (intel

[Intel-gfx] [PATCH] drm/i915: Fixing mutex deadlock window at eDP DRRS

2015-03-02 Thread Ramalingam C
In invalidate and flush functions of eDP DRRS, if deferred downclock work starts execution at a time window between acquiring the drrs mutex and cancellation of the deferred work (intel_edp_drrs_downclock_work), then deferred work will find drrs mutex locked and wait for the same. Meanwhile the fu