diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-03-02 21:53:27 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-03-04 09:38:38 -0800 |
commit | 371be65fb74789250dbb1e332e46416d931da321 (patch) | |
tree | bf13fd617e880ad3c214a27fdc593e2c27a05641 /src/i915_hwmc.c | |
parent | d5a20c81ab76129a1e0bcefecd9c4a10b5040af4 (diff) |
XvMC: kill the pinned batchbuffer in the ddx code
It's been unused for quite a while.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Carl Worth <cworth@cworth.org>
Diffstat (limited to 'src/i915_hwmc.c')
-rw-r--r-- | src/i915_hwmc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/i915_hwmc.c b/src/i915_hwmc.c index 6943a071..3097e927 100644 --- a/src/i915_hwmc.c +++ b/src/i915_hwmc.c @@ -284,13 +284,6 @@ static Bool i915_xvmc_init(ScrnInfoPtr scrn, XF86VideoAdaptorPtr XvAdapt) return FALSE; } xvmc_driver->devPrivate = (void *)pXvMC; - if (!intel_xvmc_init_batch(scrn)) { - xf86DrvMsg(scrn->scrnIndex, X_WARNING, - "[XvMC] fail to init batch buffer\n"); - xfree(pXvMC); - return FALSE; - } - /* set up wrappers */ pXvMC->savePutImage = XvAdapt->PutImage; XvAdapt->PutImage = i915_xvmc_put_image; @@ -299,7 +292,6 @@ static Bool i915_xvmc_init(ScrnInfoPtr scrn, XF86VideoAdaptorPtr XvAdapt) static void i915_xvmc_fini(ScrnInfoPtr scrn) { - intel_xvmc_fini_batch(scrn); xfree(xvmc_driver->devPrivate); } |