drm/sis: clean up reclaim_buffers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Oct 2011 21:42:59 +0000 (23:42 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Jul 2012 02:49:17 +0000 (22:49 -0400)
commitea5e437406701838751ebc0f797d8b1c31df8121
tree58a2fc21ddfb474f25cd045744324e148078f47c
parent834859c3abf9272bf55bd0d0c95e5a892f24dadc
drm/sis: clean up reclaim_buffers

Like for via.

v2: Actually drop the idlelock again if taken.

v3: Fixup.

v4: Fixup the "has master" vs. "is master" confusion the refactor
introduced.

v5: Drop the idlelock in the early return path.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/sis/sis_drv.c
drivers/gpu/drm/sis/sis_mm.c