i965: Don't map/unmap in brw_print_program_cache on LLC platforms.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 12 Nov 2016 02:05:14 +0000 (18:05 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 Jan 2017 05:47:38 +0000 (21:47 -0800)
commitaa291c3ba9b1062d219276cef12b1b7c5380b423
tree5be0a1f0cdcd2f1de574dc69cfacd90e5816d91b
parentce892392948e18241a872878873dbdd46e546fb2
i965: Don't map/unmap in brw_print_program_cache on LLC platforms.

We have a persistent mapping.  Don't map it a second time or try to
unmap it.  Just use the pointer.

This most likely would wreak havoc except that this code is unused
(it's only called from an if (0) debug block).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/mesa/drivers/dri/i965/brw_program_cache.c