drm/i915: Markup GEM API with lockdep asserts
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 12:58:32 +0000 (13:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 19:53:45 +0000 (20:53 +0100)
commit4c7d62c6b8a2b4e2300d977644e78b25a2d5f4d0
treed7dd15a7872af1d87c39211beb92142e841bddb4
parent4e50f082ac51c95046a8315612ce1d9acb2b3d63
drm/i915: Markup GEM API with lockdep asserts

Add lockdep_assert_held(struct_mutex) to the API preamble of the
internal GEM interfaces.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161028125858.23563-9-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_render_state.c
drivers/gpu/drm/i915/i915_gem_request.c