drm/i915: Apply lockdep annotations to i915_gem_context.c
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 May 2016 13:53:35 +0000 (14:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 May 2016 14:28:18 +0000 (15:28 +0100)
commit499f2697da1d6afb66a2b2377ad67952bcddbe65
treeec2d8a1d8784a4dd054f87361286719203e8d67b
parente2efd13007cbdfb21a973faccddf967d86165d69
drm/i915: Apply lockdep annotations to i915_gem_context.c

Markup the functions that require the caller to hold struct_mutex with
lockdep_assert_held(). In the hopefully not-too-distant future we will
split the struct_mutex up, and in doing so we need to be sure that we
know what it protects - here the lockdep annotations are invaluable.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464098023-3294-2-git-send-email-chris@chris-wilson.co.uk
Link: http://patchwork.freedesktop.org/patch/msgid/1464098023-3294-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c
This page took 0.026764 seconds and 5 git commands to generate.