i965: Re-emit l3 state before BLORP executes
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 17 Jan 2020 19:30:48 +0000 (13:30 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 31 Jan 2020 00:46:16 +0000 (18:46 -0600)
commit9d05822cb8b5d3fd066c64722b76b3507a7fd24f
tree028c9e324a9c3414693aea8465e949b204b8a397
parentbff7b3c7bd56c25544ea6e3ea9452358374db10a
i965: Re-emit l3 state before BLORP executes

If BLORP is the first thing to execute, we may not have set the L3$
config yet.  That's not normally a problem but we're about to add code
to BLORP which will look at brw_context::l3::config and we'd like that
to be initialized.  It's also just good practice.

Cc: "20.0" mesa-stable@lists.freedesktop.org
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3454>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen7_l3_state.c
src/mesa/drivers/dri/i965/genX_blorp_exec.c