radv: add support for using addrlib max alignment.
authorDave Airlie <airlied@redhat.com>
Sun, 9 Jul 2017 19:34:04 +0000 (20:34 +0100)
committerDave Airlie <airlied@redhat.com>
Sun, 9 Jul 2017 21:17:59 +0000 (22:17 +0100)
commitedf2acbeb16112fe002d3f7208018273d413f25c
tree4e10163f3c5b54e5242851b608dff1400a3aa9e5
parentf3958f1644391ed5f6d14373ac74d4978d8598b7
radv: add support for using addrlib max alignment.

Rather than using 64k, use what addrlib returns as the base
alignment for vulkan allocations.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_gpu_info.h
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c