]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Improve fallback ring waiting
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 May 2014 08:07:32 +0000 (09:07 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 7 May 2014 23:22:34 +0000 (01:22 +0200)
commitdcfe050659bbd02e3b18d4b19eb0bcc8d0072bb0
tree66adfd32356caa8db06641345519b51c7ee5c21b
parent6e7186af3b815adda710ee8b4a6f1402776661c0
drm/i915: Improve fallback ring waiting

A few improvements to the fallback method for waiting upon ring space:

1. Fix the start/end wait tracepoints to always be paired.
2. Increase responsiveness of checking
3. Mark the process as waiting upon io
4. Check for signal interruptions

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com>
[danvet: Drop the s/msleep/io_schedule_timeout/ change again since the
latter isn't exported.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c