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

Jani Nikula jani.nikula at linux.intel.com
Mon Nov 28 11:40:17 UTC 2016


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+


>
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
>
> Regards, Joonas

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list