• Daniel Vetter's avatar
    Revert "Revert "drm/i810: cleanup reclaim_buffers"" · d5346b37
    Daniel Vetter authored
    This reverts commit 6e877b57,
    reinstating the original commit:
    
    commit 87499ffd
    Author: Daniel Vetter <daniel.vetter@ffwll.ch>
    Date:   Tue Oct 25 23:51:24 2011 +0200
    
        drm/i810: cleanup reclaim_buffers
    
        My dear old i815 always hits the deadlocked on reclaim_buffers
        warning. Switch over to the idlelock duct-tape on hope that
        works better. I've fired up my i815 and now closing glxgears doesn't
        take 5 seconds anymore. \o/
    
    The original problem with that was that I've moved it ahead in the
    series so that it could be included despite some patches not being
    ready quite yet. The little problem is that this patch required some
    of the previous rework to work correctly.
    
    Now that everything is in the right order again, this actually works
    on my i810 and does speed up closing gl apps as the original commit
    claimed. Without hanging the machine, as the revert says.
    Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    d5346b37
i810_drv.h 7.5 KB