summaryrefslogtreecommitdiff
path: root/src/i830.h
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.h
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.h')
-rw-r--r--src/i830.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index 21c98f5b..58afe76a 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -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);