OSDN Git Service

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)
commit3b88cc0dd72e82df65c634f19417158787d86bfe
tree1361bf4a795100fbb6020ce752481bef48fe397e
parent4146b08d767a702682bd28e2a21b062983fd937c
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