diff options
author | Daniel Vetter | 2009-09-15 22:57:32 +0200 |
---|---|---|
committer | Eric Anholt | 2009-11-05 23:47:07 +0100 |
commit | 48764bf43f746113fc77877d7e80f2df23ca4cbb (patch) | |
tree | 74f679459d3c1e6d5194ac7a4a55f9a347ea3647 /block/blk-settings.c | |
parent | drm: make drm_mode_object_find typesafe (diff) | |
download | kernel-qcow2-linux-48764bf43f746113fc77877d7e80f2df23ca4cbb.tar.gz kernel-qcow2-linux-48764bf43f746113fc77877d7e80f2df23ca4cbb.tar.xz kernel-qcow2-linux-48764bf43f746113fc77877d7e80f2df23ca4cbb.zip |
drm/i915: add i915_lp_ring_sync helper
This just waits until the hw passed the current ring position with
cmd execution. This slightly changes the existing i915_wait_request
function to make uninterruptible waiting possible - no point in
returning to userspace while mucking around with the overlay, that
piece of hw is just too fragile.
Also replace a magic 0 with the symbolic constant (and kill the then
superflous comment) while I was looking at the code.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions