commit | e2989f140e707f31afa5fa617512961b3f692aca | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Feb 21 09:17:23 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Feb 21 12:48:51 2017 +0000 |
tree | 5c551985dfc00a63e263cc99cfde25298d8364fe | |
parent | 944a36d472be642d0d082d2480fe2b40046602a9 [diff] |
drm/i915: Use reservation_object_lock() Replace the calls to ww_mutex_lock(&resv->lock) with the helper reservation_object_lock(resv) and similarly for unlock. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170221091723.6219-1-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>