[Intel-gfx] [PATCH] drm/i915: Fix locking around GuC firmware load

Dave Airlie airlied at gmail.com
Tue Nov 3 19:22:16 PST 2015


On 4 November 2015 at 07:42, Daniel Stone <daniels at collabora.com> wrote:
> The GuC firmware load requires struct_mutex to create a GEM object,
> but this collides badly with request_firmware. Move struct_mutex
> locking down into the loader itself, so we don't hold it across the
> entire load process, including request_firmware.
>
> Signed-off-by: Daniel Stone <daniels at collabora.com>

This avoids the lockdep spew on my machine.

Reviewed-by: Dave AIrlie <airlied at redhat.com>

I'm going to put this into -next, granted I've still got the other WARN spew
but lockdep working is a good start.

Dave.


More information about the Intel-gfx mailing list