[Intel-gfx] [PATCH] drm/i915: drop the struct_mutex when wedged or trying to reset

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 29 09:26:31 UTC 2016


On Mon, Nov 28, 2016 at 01:40:17PM +0200, Jani Nikula wrote:
> On Mon, 28 Nov 2016, Joonas Lahtinen <joonas.lahtinen at linux.intel.com> wrote:
> > On ma, 2016-11-28 at 10:36 +0000, Matthew Auld wrote:
> >> We grab the struct_mutex in intel_crtc_page_flip, but if we are wedged
> >> or a reset is in progress we bail early but never seem to actually
> >> release the lock.
> >> 
> >> Fixes: 7f1847ebf48b ("drm/i915: Simplify checking of GPU reset_counter in display pageflips")
> >> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> >> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> >
> > Cc: stable # v4.6 ?
> 
> $ dim fixes 7f1847ebf48b
> Fixes: 7f1847ebf48b ("drm/i915: Simplify checking of GPU reset_counter in display pageflips")
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Jani Nikula <jani.nikula at linux.intel.com>
> Cc: intel-gfx at lists.freedesktop.org
> Cc: <stable at vger.kernel.org> # v4.7+

Pushed with the stable tag appended. Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list