[Intel-gfx] [PATCH 3/9] drm/i915/cmdparser: Use cached vmappings
Matthew Auld
matthew.william.auld at gmail.com
Tue Aug 16 10:50:29 UTC 2016
> + 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?
More information about the Intel-gfx
mailing list