summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sis
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-10-25 21:37:09 (GMT)
committerDave Airlie <airlied@redhat.com>2012-07-20 02:48:28 (GMT)
commit834859c3abf9272bf55bd0d0c95e5a892f24dadc (patch)
tree2029970d5992422f8e7cecdcc893e0d167599bcd /drivers/gpu/drm/sis
parent5bd42f69fbedfc12cd8161323a9ffab0b2586a2a (diff)
downloadlinux-fsl-qoriq-834859c3abf9272bf55bd0d0c95e5a892f24dadc.tar.xz
drm/via: clean up reclaim_buffers
A few things - kill reclaim_buffers, it's never ever called because via does not set DRIVER_HAVE_DMA - inline the idlelock dance into the buffer reclaim logic and make it a simple preclose cleanup function - directly call the the dma_quiescent function and kill the needless if check. v2: Actually drop the idlelock when we take it. Reported by James Simmons. v3: Rebased onto latest drm-next. v4: Fixup the refactor. v5: More fixup the refactor - I've accidentally changed the check for any master to checking whether the closing fd is the master. v6: Don't forget to drop the idlelock in the early return path, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/sis')
0 files changed, 0 insertions, 0 deletions