i965: Keep track of whether LRI is allowed in the context struct.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 3 Sep 2015 14:08:16 +0000 (17:08 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 9 Dec 2015 11:46:04 +0000 (13:46 +0200)
commit4841cab01a2a6d308c00b4039f1fb1a29e44ed74
tree2ae2a4990adfd444035fa502f2a3e4fc433c52b2
parent50c2713726f007b988502ed5e7073fae11409853
i965: Keep track of whether LRI is allowed in the context struct.

This stores the result of can_do_pipelined_register_writes() in the
context struct so we can find out later whether LRI can be used to
program the L3 configuration.

v2:
 * Split change of gen check in can_do_pipelined_register_writes (jljusten)

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/intel_extensions.c