anv/gen9: Optimize slice and subslice load balancing behavior.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 18 Jul 2019 01:41:38 +0000 (18:41 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 12 Aug 2019 21:40:21 +0000 (14:40 -0700)
commitc2fe7a0fb818578d87f12300523d796205edffd5
tree55321601846683862c0a0a19ecf13b02529542e7
parent1c45541c7f26926df8e0d55ec9684e7da866d994
anv/gen9: Optimize slice and subslice load balancing behavior.

See "i965/gen9: Optimize slice and subslice load balancing behavior."
for the rationale.  According to Jason, improves Aztec Ruins
performance by 2.7%.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
v2: Undo CPU performance micro-optimization done in i965 and iris due
    to lack of data justifying it on anv.  Use
    cmd_buffer_apply_pipe_flushes wrapper instead of emitting pipe
    control command directly.  (Jason)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_genX.h
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_blorp_exec.c
src/intel/vulkan/genX_cmd_buffer.c