r600/sb: introduce special register values for lds support.
authorDave Airlie <airlied@redhat.com>
Wed, 10 Jan 2018 03:52:50 +0000 (03:52 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Jan 2018 03:36:47 +0000 (03:36 +0000)
commit09c1c13c4442148e45a4aeac3425382bbe90e8cd
treed515c3e67e15018e87f8e4ce120dc453dbbe6d48
parent2f2cef385fd0f96f5cca3d5ccc48184bbc681831
r600/sb: introduce special register values for lds support.

For LDS read/write ordering we use the LDS_RW value, reads
will wait on previous writes.
For LDS read/read from LDS queue ordering we use the LDS_OQ
values, we define two for now, though initially we'll just
support OQA.

Also add the check for the lds oq values

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