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

2017-12-01 Thread Ville Syrjälä
On Wed, Nov 29, 2017 at 02:54:11PM +0200, Ville Syrjala wrote: > 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

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

2017-11-29 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 assert_plane() calls (which calls ->g