Skip to content
Snippets Groups Projects
Commit 6393cf2f authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Juan A. Suárez
Browse files

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: default avatarMatt 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: default avatarMatt 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: default avatarEmil Velikov <emil.velikov@collabora.com>
(cherry picked from commit 526945f7)
parent 4fd242e9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment