diff options
author | Jordan Justen <[email protected]> | 2018-02-02 13:03:10 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2018-02-03 12:16:58 -0800 |
commit | 83e60ce927142752c57163fcb8b30eca2370d014 (patch) | |
tree | 6967bafc9a66e75f6a0894b99623ada84d16a151 /src/mesa/Android.gen.mk | |
parent | 589e9db23f18cddedb2001ddcc6dae3d5ae701a3 (diff) |
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/Android.gen.mk')
0 files changed, 0 insertions, 0 deletions