]> 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)
commit748557c0e07308656f0e2c01391679dbce241a3e
tree1361bf4a795100fbb6020ce752481bef48fe397e
parent1044c004dac7a51f19292da62df097903951a8f9
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