mesa/src
Jordan Justen 83e60ce927 i965: Create new program cache bo when clearing the program cache
When the disk shader cache CI testing was enabled, we started noticing
occasional failures on deqp test runs. (Mainly SNB, rarely HSW)

Before this change, when we cleared the (in memory) program cache we
reused the same bo. Since the disk shader cache quickly restores
programs, it appears that this would lead to overwrites of the older
program binaries in the in memory program cache that apparently were
still executing in some cases. If these programs were still executing,
this could cause a GPU hang.

This issue is probably not disk shader cache specific, but may have
been hidden due to the compiler taking time to recompile programs
after the cache was cleared.

v2:
 * Don't add `copy` param to brw_cache_new_bo (Ken)
 * Call from brw_program_cache_check_size (Ken)

Cc: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2018-02-03 12:16:58 -08:00
..
amd amd: remove support for LLVM 3.9 2018-02-02 23:47:40 +01:00
broadcom broadcom/vc5: Fix a segfault on mix of booleans. 2018-02-01 11:02:29 -08:00
compiler mesa: Put materials at the end of the generic block. 2018-02-01 22:39:06 +01:00
egl meson: Don't confuse the install and search paths for dri drivers 2018-02-02 11:01:42 -08:00
gallium broadcom/vc5: Enable UIF XOR on textures. 2018-02-02 16:50:02 -08:00
gbm meson: Don't confuse the install and search paths for dri drivers 2018-02-02 11:01:42 -08:00
getopt
glx meson: Don't confuse the install and search paths for dri drivers 2018-02-02 11:01:42 -08:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl
intel aubinator: Multiply count by 4 to compute buffer sizes 2018-02-02 22:30:56 -08:00
loader loader: let compiler figure out the length of the string 2018-01-25 11:40:25 +00:00
mapi glx/apple: locate dispatch table functions to wrap by name 2018-02-01 15:14:08 +00:00
mesa i965: Create new program cache bo when clearing the program cache 2018-02-03 12:16:58 -08:00
util meson: correctly set SYSCONFDIR for loading dirrc 2018-01-24 13:10:32 -08:00
vulkan vulkan: Update the XML and headers to 1.0.68 2018-01-25 13:30:05 -08:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: define inc_gbm as empty if not otherwise assigned 2018-01-11 15:40:02 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00