linux/drivers/gpu/drm/savage
Daniel Vetter e2b3c5b64b drm/savage: clean up reclaim_buffers
The reclaim_buffers function of the savage driver actually wants to run
with the hw_lock held - at least there are printks in the call-chain
to that effect. But the drm core only calls reclaim_buffers as used
by savage _after_ forcefully dropping the hwlock (in case it's still
hold by the closing fd).

So do the same idlelock dance as for the other dma drivers and hope
that papers over any issues.

v2: Don't let the idlelock linger around.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-19 22:50:16 -04:00
..
Makefile
savage_bci.c drm/savage: clean up reclaim_buffers 2012-07-19 22:50:16 -04:00
savage_drv.c drm/savage: clean up reclaim_buffers 2012-07-19 22:50:16 -04:00
savage_drv.h
savage_state.c drm/savage: fix integer overflows in savage_bci_cmdbuf() 2012-04-10 10:22:51 +01:00