Re: [Intel-gfx] [PATCH 1/6] drm/i915: Stop skipping the final clflush back to system pages

2016-11-11 Thread Joonas Lahtinen
On to, 2016-11-10 at 15:07 +, Chris Wilson wrote: > When we release the shmem backing storage, we make sure that the pages > are coherent with the cpu cache. However, our clflush routine was > skipping the flush as the object had no pages at release time. Fix this by > explicitly flushing the

[Intel-gfx] [PATCH 1/6] drm/i915: Stop skipping the final clflush back to system pages

2016-11-10 Thread Chris Wilson
When we release the shmem backing storage, we make sure that the pages are coherent with the cpu cache. However, our clflush routine was skipping the flush as the object had no pages at release time. Fix this by explicitly flushing the sg_table we are decoupling. Fixes: 03ac84f1830e ("drm/i915: