iris: Store the L3$ configs in the screen
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 17 Jan 2020 17:37:31 +0000 (11:37 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 31 Jan 2020 00:46:13 +0000 (18:46 -0600)
commit99f3178a249525d333c5b27d755a0f99a81b3c17
tree7637e4c8c72f1b414ac65b7838f7a65f02870629
parent6471bac99ec11c7901d6fc9bda908c047e621f5f
iris: Store the L3$ configs in the screen

We only calculate them based on device info and never change them so
this seems like a reasonable place to put them.  We could also put them
in the context, but that's not accessible from iris_init_*_context.

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/gallium/drivers/iris/iris_screen.c
src/gallium/drivers/iris/iris_screen.h
src/gallium/drivers/iris/iris_state.c