diff options
author | Dave Airlie <[email protected]> | 2017-09-08 12:30:23 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-09-08 12:30:23 +1000 |
commit | a5add6fb30e24c4e0177a98758888682d7e6ea36 (patch) | |
tree | c6ab3dae4f5cac04b340f6ae12d8011d828c55d8 /src | |
parent | 219d29e4d83d8c901f127c8a004c45c23c15751e (diff) |
radv/winsys: fix flags vs va_flags thinko.
Fixes: e8d57802f (radv/gfx9: allocate events from uncached VA space)
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c index 325f8752874..1c56c559072 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c @@ -344,7 +344,7 @@ radv_amdgpu_winsys_bo_create(struct radeon_winsys *_ws, uint32_t va_flags = 0; if (flags & RADEON_FLAG_VA_UNCACHED) va_flags |= AMDGPU_VM_MTYPE_UC; - r = radv_amdgpu_bo_va_op(ws->dev, buf_handle, 0, size, va, flags, AMDGPU_VA_OP_MAP); + r = radv_amdgpu_bo_va_op(ws->dev, buf_handle, 0, size, va, va_flags, AMDGPU_VA_OP_MAP); if (r) goto error_va_map; |