From 8b2d2ff0d026eea445a071102a62d782f3bbec78 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 7 Oct 2009 16:12:25 -0700 Subject: Clean up more i830_memory.c madness. It was cooking up insane alignment values for buffers that new libdrm was justifiably complaining about, but it turns out we don't need the alignment values anywhere because the only case they're needed, they're computed entirely by the kernel. Also, the XVMC code was passing a completely unused flag in. --- src/i830_hwmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/i830_hwmc.c') diff --git a/src/i830_hwmc.c b/src/i830_hwmc.c index c365dd5f..3471524a 100644 --- a/src/i830_hwmc.c +++ b/src/i830_hwmc.c @@ -147,7 +147,7 @@ Bool intel_xvmc_init_batch(ScrnInfoPtr scrn) if (!i830_allocate_xvmc_buffer(scrn, "[XvMC] batch buffer", &(xvmc_driver->batch), size, - ALIGN_BOTH_ENDS)) + 0)) return FALSE; if (drmAddMap(intel->drmSubFD, -- cgit v1.2.3