diff options
author | Nicolai Hähnle <[email protected]> | 2016-09-27 16:51:46 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-09-29 11:24:52 +0200 |
commit | de84e99e454adede4f95c1cfd59f24c9dcc4e73d (patch) | |
tree | 05b9cb2f55d66424f17cf517918ffb1d9aa0e4bf /src/gallium/winsys/amdgpu/drm | |
parent | 7a0e543836a69c7f51b264825316215d3f6bae8a (diff) |
gallium/radeon/winsyses: add radeon_winsys::min_alloc_size
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index c83489d8820..c28e1ca373c 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -557,6 +557,8 @@ amdgpu_winsys_create(int fd, radeon_screen_create_t screen_create) amdgpu_bo_slab_free)) goto fail_cache; + ws->info.min_alloc_size = 1 << AMDGPU_SLAB_MIN_SIZE_LOG2; + /* init reference */ pipe_reference_init(&ws->reference, 1); |