[Intel-gfx] [PATCH 3/9] drm/i915/cmdparser: Use cached vmappings

Chris Wilson chris at chris-wilson.co.uk
Tue Aug 16 10:57:51 UTC 2016


On Tue, Aug 16, 2016 at 11:50:29AM +0100, Matthew Auld wrote:
> > +       if (dst_needs_clflush & CLFLUSH_BEFORE)
> > +               batch_len = roundup(batch_len, boot_cpu_data.x86_clflush_size);
> > +
> >         memcpy(dst, src, batch_len);
> >
> > +       /* dst_obj is returned with vmap pinned */
> > +       *needs_clflush_after = dst_needs_clflush & CLFLUSH_AFTER;
> Where did CLFLUSH_{BEFORE, AFTER} come from, I can't find them?

They are part of the required coherency fixes earlier in the bigger
series.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list