mesa/src
Kenneth Graunke a14dd9fff6 i965: Mark all EGLimages as non-coherent.
EGLimages are shared with external users, and we don't know what they're
going to do with them.  They might scan them out.  They might access
them in a way that doesn't work with our explicit clflushing.

It's safest to simply mark them non-coherent.

Chris Wilson caught this problem and wrote a similar (though less
aggressive) patch to solve it; the miptree code has since undergone
a lot of refactoring so I had to rewrite it.

Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit bc56dfbf3f)
[Emil Velikov: squash trivial conflicts]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

Conflicts:
	src/mesa/drivers/dri/i965/intel_mipmap_tree.c
2017-08-29 18:37:57 +01:00
..
amd radv: disable texture gather workaround on gfx9. 2017-08-29 16:18:49 +01:00
broadcom broadcom: correct header file in BROADCOM_FILES 2017-07-24 01:40:05 +03:00
compiler glsl: add a few missing int64 constant propagation cases 2017-08-19 02:57:19 +01:00
egl egl: avoid eglCreatePlatform*Surface{EXT,} crash with invalid dpy 2017-08-11 20:59:02 +01:00
gallium broadcom/vc4: Build the vc4_tiling_lt_neon.c with -mfpu=neon on ARM. 2017-08-19 02:57:19 +01:00
gbm gbm: fix typo 2017-07-19 15:51:54 +01:00
getopt
glx glxcmds: Fix a typo in the __APPLE__ codepath 2017-08-17 15:48:20 -07:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl
intel intel/genxml: Fix gen10 BLEND_STATE variable length packing 2017-08-19 02:57:19 +01:00
loader dri3: Wait for all pending swapbuffers to be scheduled before touching the front 2017-08-05 00:09:25 +01:00
mapi mapi: add missing no_error tag to glBlitNamedFramebuffer() 2017-07-18 10:07:34 +02:00
mesa i965: Mark all EGLimages as non-coherent. 2017-08-29 18:37:57 +01:00
util util: Fix build on old glibc. 2017-08-19 02:57:19 +01:00
vulkan vulkan/util: fix typo in comment 2017-07-18 13:56:04 +01:00
Makefile.am build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00
SConscript build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00