Re: [Intel-gfx] [PATCH] drm/i915: Split obj->cache_coherent to track r/w

2017-08-11 Thread Joonas Lahtinen
On to, 2017-08-10 at 17:20 +0100, Chris Wilson wrote: > Another month, another story in the cache coherency saga. This time, we > come to the realisation that i915_gem_object_is_coherent() has been > reporting whether we can read from the target without requiring a cache > invalidate; but we were

Re: [Intel-gfx] [PATCH] drm/i915: Split obj->cache_coherent to track r/w

2017-08-11 Thread Maarten Lankhorst
Op 10-08-17 om 18:20 schreef Chris Wilson: > Another month, another story in the cache coherency saga. This time, we > come to the realisation that i915_gem_object_is_coherent() has been > reporting whether we can read from the target without requiring a cache > invalidate; but we were using it in

[Intel-gfx] [PATCH] drm/i915: Split obj->cache_coherent to track r/w

2017-08-10 Thread Chris Wilson
Another month, another story in the cache coherency saga. This time, we come to the realisation that i915_gem_object_is_coherent() has been reporting whether we can read from the target without requiring a cache invalidate; but we were using it in places for testing whether we could write into the