anv: Set L3 full way allocation at context init if L3 cfg is NULL
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 12 Jun 2020 10:02:02 +0000 (03:02 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 22 Jun 2020 18:41:59 +0000 (11:41 -0700)
commit633dec7163e83943c6744909d8a4b67aafd2eaa6
tree98e200f7d81bca4b117a5f4563a94188de75f301
parente2e0521ecbbc0e666582162c2bf149f1e41c73e2
anv: Set L3 full way allocation at context init if L3 cfg is NULL

If the platform's default L3 config is NULL, then it now gets
initialized only at context init time, and cmd_buffer_config_l3 will
always return immediately.

Rework:
 * Remove unneeded check on !cfg in cmd_buffer_config_l3 (Jason)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4956>
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_state.c