drm/i915: Check locking in i915_gem_request_unreference
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Nov 2014 09:26:05 +0000 (10:26 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Dec 2014 08:35:18 +0000 (09:35 +0100)
commitf245860ece9b18394b679c2c55738babc904f506
treec0f34cbab19b230b799e38118778ae0e2e4aa01e
parenta4b3a5713d9f1ca94762b468117f918d3b15e5c4
drm/i915: Check locking in i915_gem_request_unreference

With refcounting it looks like you can just drop that refcount, but
that's not really the case. So make sure no one forgets.

Motivated by the unlocked call in the mmio flip code.

Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Thomas Daniel <Thomas.Daniel@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_drv.h