intel: Take a gen_l3_config in gen_get_urb_config
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 16 Jan 2020 23:02:26 +0000 (17:02 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 31 Jan 2020 00:46:18 +0000 (18:46 -0600)
commit73a684964b392c4df84373e8419e355267d57ff5
tree94fab56a3c3bacd0fe6989541b13b3ff9c2db7a2
parent9d05822cb8b5d3fd066c64722b76b3507a7fd24f
intel: Take a gen_l3_config in gen_get_urb_config

Instead of making each driver pass in the same push constant size and do
it's own L3$ config URB size calculation, just make them pass in their
L3$ configuration.

Cc: "20.0" mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3454>
src/gallium/drivers/iris/iris_state.c
src/intel/common/gen_l3_config.h
src/intel/common/gen_urb_config.c
src/intel/vulkan/genX_pipeline.c
src/mesa/drivers/dri/i965/gen7_urb.c