i965: Emit CS stall before MEDIA_VFE_STATE.
This fixes hangs on GFXBench 5's Aztec Ruins benchmark. Unfortunately, it regresses OglCSCloth performance by about 10%. There are some ideas for fixing that. The Vulkan driver already emits this stall. Reviewed-by:Matt Turner <mattst88@gmail.com> (cherry picked from commit 55a97db5) Squashed with: i965: Move PIPE_CONTROL defines and prototypes to brw_pipe_control.h. We need to be able to emit PIPE_CONTROLs from genX_state_upload.c, which can't safely include brw_defines.h because it conflicts with genxml. Move all the PIPE_CONTROL related stuff together into a separate header. Reviewed-by:
Matt Turner <mattst88@gmail.com> (cherry picked from commit bfe0f3a7) Squashed with: i965: include brw_pipe_control.h in the tarball Fixes: bfe0f3a7 ("i965: Move PIPE_CONTROL defines and prototypes to brw_pipe_control.h.") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit 526945f7)
Showing
- src/mesa/drivers/dri/i965/Makefile.sources 1 addition, 0 deletionssrc/mesa/drivers/dri/i965/Makefile.sources
- src/mesa/drivers/dri/i965/brw_context.h 1 addition, 16 deletionssrc/mesa/drivers/dri/i965/brw_context.h
- src/mesa/drivers/dri/i965/brw_defines.h 0 additions, 43 deletionssrc/mesa/drivers/dri/i965/brw_defines.h
- src/mesa/drivers/dri/i965/brw_pipe_control.h 89 additions, 0 deletionssrc/mesa/drivers/dri/i965/brw_pipe_control.h
- src/mesa/drivers/dri/i965/genX_state_upload.c 12 additions, 3 deletionssrc/mesa/drivers/dri/i965/genX_state_upload.c
Loading
Please register or sign in to comment