diff options
author | Dave Airlie <[email protected]> | 2017-07-09 20:34:04 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-07-09 22:17:59 +0100 |
commit | edf2acbeb16112fe002d3f7208018273d413f25c (patch) | |
tree | 4e10163f3c5b54e5242851b608dff1400a3aa9e5 /src/gallium/winsys | |
parent | f3958f1644391ed5f6d14373ac74d4978d8598b7 (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index ef7b04aa5fe..30f4dfb769d 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -63,7 +63,7 @@ static bool do_winsys_init(struct amdgpu_winsys *ws, int fd) goto fail; } - ws->addrlib = amdgpu_addr_create(&ws->info, &ws->amdinfo); + ws->addrlib = amdgpu_addr_create(&ws->info, &ws->amdinfo, NULL); if (!ws->addrlib) { fprintf(stderr, "amdgpu: Cannot create addrlib.\n"); goto fail; |