r600/sb: add gcm support to avoid clause between lds read/queue read
authorDave Airlie <airlied@redhat.com>
Wed, 10 Jan 2018 04:30:23 +0000 (04:30 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Jan 2018 03:37:42 +0000 (03:37 +0000)
commit5002dd40520deba025d81c824d41e292db344a7b
tree97c5e2468901973ed8b22d7e8b989c7af0007c70
parent046cf68cadd04a1e1eb89476614c334ac702f0ce
r600/sb: add gcm support to avoid clause between lds read/queue read

You have to schedule LDS_READ_RET _, x and MOV reg, LDS_OQ_A_POP
in the same basic block/clause. This makes sure once we've issues
and MOV we don't add another block until we balance it with an
LDS read.

Acked-By: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/sb/sb_gcm.cpp
src/gallium/drivers/r600/sb/sb_pass.h