radeon: Don't mess up page flipping when a file descriptor is closed.
authorMichel Dänzer <michel@tungstengraphics.com>
Tue, 8 May 2007 05:21:14 +0000 (15:21 +1000)
committerDave Airlie <airlied@linux.ie>
Tue, 8 May 2007 05:21:14 +0000 (15:21 +1000)
commit453ff94ca502d0a7441912823f20ed130f685429
tree50858e0644a9ceb879310369cc84ce7ebd4c0f21
parentf2b04cd219e5c0f1214c0eeeec814ddd08a12c1b
radeon: Don't mess up page flipping when a file descriptor is closed.

There can still be other contexts that may use page flipping later on, so do
just unilaterally 'clean it up', which could lead to the wrong page being
displayed, e.g. when running 3D apps with a GLX compositing manager such as
compiz using page flipping.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/radeon_drv.h
drivers/char/drm/radeon_state.c