243ced4eb2
All the MI_SDI currently have forced write checks (meaning the command streamer will stall until completion) on Gfx12.0+. Now on Gfx12.0/12.5, the read commands have implicit waits on previous writes (BSpec ). So if we're only dealing with CS writes & reads, we don't need forced write checks. In the few cases where CS is writing data for other bits of HW, we need the forced write checks. This change adds an API that will let the driver decide when to enable forced write checks. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29571>