i965: Set MAP_PERSISTENT on program cache buffers.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 21 Jul 2017 20:09:17 +0000 (13:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 23 Jul 2017 02:34:42 +0000 (19:34 -0700)
commit8bdbc0c5b93ff97f08d302d7b634397d52620219
tree2eff71a7a713f5df3928ea5be15675734a5864cd
parent2e3d825982ab7ee42671325a1c093f8635af1743
i965: Set MAP_PERSISTENT on program cache buffers.

Chris Wilson pointed out that this mapping really is persistant.

Shouldn't actually have any effect today, but best to set it anyway.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_program_cache.c