[Intel-gfx] [PATCH 2/3] Xv: fixup XvMC on i915
Daniel Vetter
daniel at ffwll.ch
Thu Mar 4 10:06:16 CET 2010
On Wed, Mar 03, 2010 at 04:53:08PM -0800, Carl Worth wrote:
> On Mon, 1 Mar 2010 22:57:39 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > + /* for i915 xvmc, hw requires 1kb aligned surfaces */
> > + if ((id == FOURCC_XVMC) && IS_I915(intel))
> > + pitchAlignMask = 0x3ff;
>
> This doesn't compile for me without INTEL_XVMC. From looking around, it
> looks like we can just wrap the above condition with #if INTEL_XVMC?
Yep. Next time I really should remember to compile-check with XVMC enabled
and disabled ...
> If that's acceptable, I can do that and push.
That'll be nice.
Thanks, Daniel
--
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48
More information about the Intel-gfx
mailing list