• Daniel Vetter's avatar
    drm/i915: add i915_lp_ring_sync helper · 48764bf4
    Daniel Vetter authored
    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: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: default avatarEric Anholt <eric@anholt.net>
    48764bf4
drm_os_linux.h 3.94 KB