Re: [Intel-gfx] [PATCH] drm/i915: Fix deadlock in i830_disable_pipe()

2017-11-29 Thread Ville Syrjälä
On Tue, Nov 28, 2017 at 09:05:00PM +, Chris Wilson wrote: > Quoting Ville Syrjala (2017-11-28 15:48:53) > > From: Ville Syrjälä > > > > i830_disable_pipe() gets called from the power well code, and thus > > we're already holding the power domain mutex. That

Re: [Intel-gfx] [PATCH] drm/i915: Fix deadlock in i830_disable_pipe()

2017-11-28 Thread Chris Wilson
Quoting Ville Syrjala (2017-11-28 15:48:53) > From: Ville Syrjälä > > i830_disable_pipe() gets called from the power well code, and thus > we're already holding the power domain mutex. That means we can't > call plane->get_hw_state() as it will also try to grab the

[Intel-gfx] [PATCH] drm/i915: Fix deadlock in i830_disable_pipe()

2017-11-28 Thread Ville Syrjala
From: Ville Syrjälä i830_disable_pipe() gets called from the power well code, and thus we're already holding the power domain mutex. That means we can't call plane->get_hw_state() as it will also try to grab the same mutex and will thus deadlock. Replace the