intel: Produce a "constrained" output from gen_get_urb_config()
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 26 Jan 2021 05:41:48 +0000 (21:41 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 27 Jan 2021 18:30:54 +0000 (18:30 +0000)
commita710145b5bf60ef47460eea87b072077e3ddaa72
treefb6723d50e18ba322e4d43d57ddf6896aea4e810
parent86ff78e8fe55b424c6b853ead6979bcd46820d81
intel: Produce a "constrained" output from gen_get_urb_config()

When calculating a URB configuration, we start with a notion of how
much space each stage /wants/ (to achieve the maximum amount of
concurrency), but sometimes fall back to giving it less than that,
because we don't have enough space.  (Typically, this happens when
the per-stage size is large, or there are many stages, or both.)

We now output a "constrained" boolean which is true if we weren't
able to satisfy all the "wants" due to a lack of space.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8721>
src/gallium/drivers/iris/iris_state.c
src/intel/blorp/blorp_genX_exec.h
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