Re: [Intel-gfx] [PATCH] drm/i915: Use reservation_object_lock()

2017-02-21 Thread Chris Wilson
On Tue, Feb 21, 2017 at 02:28:27PM +0200, Joonas Lahtinen wrote: > On ti, 2017-02-21 at 09:17 +, Chris Wilson wrote: > > 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 > > Reviewe

Re: [Intel-gfx] [PATCH] drm/i915: Use reservation_object_lock()

2017-02-21 Thread Joonas Lahtinen
On ti, 2017-02-21 at 09:17 +, Chris Wilson wrote: > 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 Reviewed-by: Joonas Lahtinen Regards, Joonas -- Joonas Lahtinen Open Source Technol

[Intel-gfx] [PATCH] drm/i915: Use reservation_object_lock()

2017-02-21 Thread Chris Wilson
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 --- drivers/gpu/drm/i915/i915_gem_batch_pool.c | 4 ++-- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 ++-- 2 files changed, 4 insertions(+), 4 de