summaryrefslogtreecommitdiff
path: root/linux/radeon_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/radeon_state.c')
-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 08a8f8a83..ff2fd66d0 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;
}