summaryrefslogtreecommitdiff
path: root/src/i830_hwmc.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2009-07-24 10:39:05 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2009-07-24 10:39:05 +0800
commit7dc95b4f1dfecbeb7e9f4a0c35fda32d020be8fe (patch)
tree559b862598c63d066dcc12ef728f514b53c33743 /src/i830_hwmc.c
parent12c5aeca7a3db92d3522d00f5daf338d522e2176 (diff)
XvMC: pin XvMC buffers under KMS.
Under KMS, the buffer allocated by i830_allocate_memory isn't pinned anymore. However currently 915 XvMC needs static offsets. Fixes bug #22872
Diffstat (limited to 'src/i830_hwmc.c')
-rw-r--r--src/i830_hwmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_hwmc.c b/src/i830_hwmc.c
index dee17caf..72385de7 100644
--- a/src/i830_hwmc.c
+++ b/src/i830_hwmc.c
@@ -171,7 +171,7 @@ void intel_xvmc_fini_batch(ScrnInfoPtr pScrn)
xvmc_driver->batch_handle = 0;
}
if (xvmc_driver->batch) {
- i830_free_memory(pScrn, xvmc_driver->batch);
+ i830_free_xvmc_buffer(pScrn, xvmc_driver->batch);
xvmc_driver->batch = NULL;
}
}