Re: [PATCH 3/9] drm/i915/cmdparser: Use cached vmappings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux