summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2002-06-27 17:56:39 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2002-06-27 17:56:39 +0000
commitbb91bc0879ccc1981c49fa761e9bd58bceb1e5cd (patch)
tree8832a2e700db1a59a318083f0be3b5887a882d57
parent8aecdbea7660ae184827a0812fc4bbd953279c5b (diff)
Set pfCurrentPage on cleanup_pageflip
-rw-r--r--linux/radeon_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/radeon_state.c b/linux/radeon_state.c
index 08a8f8a8..ff2fd66d 100644
--- a/linux/radeon_state.c
+++ b/linux/radeon_state.c
@@ -1090,6 +1090,7 @@ static int radeon_do_init_pageflip( drm_device_t *dev )
dev_priv->page_flipping = 1;
dev_priv->current_page = 0;
+ dev_priv->sarea_priv->pfCurrentPage = dev_priv->current_page;
return 0;
}
@@ -1104,6 +1105,7 @@ int radeon_do_cleanup_pageflip( drm_device_t *dev )
dev_priv->page_flipping = 0;
dev_priv->current_page = 0;
+ dev_priv->sarea_priv->pfCurrentPage = dev_priv->current_page;
return 0;
}