diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2009-07-24 10:39:05 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2009-07-24 10:39:05 +0800 |
commit | 7dc95b4f1dfecbeb7e9f4a0c35fda32d020be8fe (patch) | |
tree | 559b862598c63d066dcc12ef728f514b53c33743 /src/i830.h | |
parent | 12c5aeca7a3db92d3522d00f5daf338d522e2176 (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.h')
-rw-r--r-- | src/i830.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -726,6 +726,7 @@ void i830_init_bufmgr(ScrnInfoPtr pScrn); #ifdef INTEL_XVMC Bool i830_allocate_xvmc_buffer(ScrnInfoPtr pScrn, const char *name, i830_memory **buffer, unsigned long size, int flags); +void i830_free_xvmc_buffer(ScrnInfoPtr pScrn, i830_memory *buffer); #endif extern uint32_t i830_create_new_fb(ScrnInfoPtr pScrn, int width, int height, int *pitch); |