]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use __wait_seqno for ring throttle
authorBen Widawsky <ben@bwidawsk.net>
Thu, 26 Apr 2012 23:03:05 +0000 (16:03 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:23 +0000 (11:18 +0200)
commit58c7618d8f0d6ad957d873c2f45b86e5fe60a52d
tree1361bf4a795100fbb6020ce752481bef48fe397e
parent0cad976c7cf2c8debeb54c8fb205ec1bd9d4b6c7
drm/i915: use __wait_seqno for ring throttle

It turns out throttle had an almost identical  bit of code to do the
wait. Now we can call the new helper directly.  This is just a bonus,
and not needed for the overall series.

v2: remove irq_get/put which is now in __wait_seqno (Ben)

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