diff options
author | Eric Anholt <eric@anholt.net> | 2009-10-07 16:12:25 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-08 15:34:10 -0700 |
commit | 8b2d2ff0d026eea445a071102a62d782f3bbec78 (patch) | |
tree | 4da55b213cd92416cd546a81b5b97e7f4a8081da /src/i830_hwmc.c | |
parent | d525a0e993a59e118ab1e8519b3d73465f8f0169 (diff) |
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.
Diffstat (limited to 'src/i830_hwmc.c')
-rw-r--r-- | src/i830_hwmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |