summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-12-04 13:11:13 -0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-12-05 15:38:34 +0800
commit0883f374c707f12a3c9ae8fcda3ff4f53b8e8db8 (patch)
tree34cd7007344c688c2c5eafadf24d41e049002ce6 /src/i830_driver.c
parentfadb1555b3dc088cadb6efb51c1bccade313d4ea (diff)
Move i965 video cc state to BOs.
(cherry picked from commit 4b9d3eac57a972c055c4acd7a10dfe8aa918131c)
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 5775763b..40312224 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -3818,6 +3818,10 @@ I830CloseScreen(int scrnIndex, ScreenPtr pScreen)
i830_allocator_fini(pScrn);
+#ifdef I830_XV
+ i965_free_video(pScrn);
+#endif
+
dri_bufmgr_destroy(pI830->bufmgr);
pI830->bufmgr = NULL;