]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: unify ring irq refcounts (again)
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Jul 2013 21:35:29 +0000 (23:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 11 Jul 2013 12:36:49 +0000 (14:36 +0200)
commita8fc48cad4bfa18cd91549f563a328063cbf898b
tree30a5b3863a87dac9b5552742516c0fbdfec27127
parent654e12f5d8f5d040f697e00c235c70932b5b44f4
drm/i915: unify ring irq refcounts (again)

With the simplified locking there's no reason any more to keep the
refcounts seperate.

v2: Readd the lost comment that ring->irq_refcount is protected by
dev_priv->irq_lock.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h