radv: add GFX9 cache flushing support.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 23:01:48 +0000 (09:01 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 23:43:40 +0000 (09:43 +1000)
commitc2fbeb7ca057b3bee8c8cd0f7076af2b90d28111
tree4e8263e1a9be4ba109e76008bdafe642778db081
parentb11c4a554681607bbec67f45442b815b51573236
radv: add GFX9 cache flushing support.

GFX9 needs to write event EOP to a fence buffer, allocate some
space for this, and just write an ever increasing number to it,
this isn't exactly what radeonsi does, but it seems to work.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c