commit | 7dd737f377ffb59010b6811f934998d42f24a8bd | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 28 13:58:38 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 28 20:53:48 2016 +0100 |
tree | be2db11e88c28d723eca16c7096d4d6c79fa6a1f | |
parent | 1233e2db199dea015391db03d3478b3392201c41 [diff] |
drm/i915/dmabuf: Acquire the backing storage outside of struct_mutex Use the per-object mm.lock to allocate the backing storage (and hold a reference to it across the dmabuf access) without resorting to struct_mutex. 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-15-chris@chris-wilson.co.uk