]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27c96e1a030e067e8e22319a787359a9bb666b4a
treec0f34cbab19b230b799e38118778ae0e2e4aa01e
parent614dd00c02967156495cb7f44327708e70f4413b
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