radv/winsys: use amdgpu_bo_va_op_raw.
authorDave Airlie <airlied@redhat.com>
Thu, 7 Sep 2017 19:54:51 +0000 (20:54 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Sep 2017 20:04:24 +0000 (21:04 +0100)
commit76ac8fafadca86941f2723f7f7176b22112f5c0c
tree487b159703951e4b8b34946ac9f95facce85e3c8
parent6e8ef538376b92381ada5dc828e8b1dd42cf936c
radv/winsys: use amdgpu_bo_va_op_raw.

This is a precursor to the gfx9 fix to use uncached for the event
memory. Move to the interface which allows setting the flags,
but wrap it to avoid having to copy it around the place.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c