drm/i915: i915_gem_object_create_from_data() doesn't require struct_mutex
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Mar 2017 19:46:47 +0000 (19:46 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Mar 2017 22:54:06 +0000 (22:54 +0000)
commitce8ff099c47be277e56461b91270a4926954dc98
treeebacdeb593fe03c549179f3c17b4955a08a1ccac
parent51a575d957fcb2848babb7163cb6e44a028a29ae
drm/i915: i915_gem_object_create_from_data() doesn't require struct_mutex

Both object creation and backing storage page allocation do not require
struct_mutex, so do not require the caller to take it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170317194648.12468-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_uc.c