diff options
author | Marek Olšák <[email protected]> | 2018-03-15 15:58:57 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-03-26 19:22:12 -0400 |
commit | 769603564ececf8edc6424ba500090bee661dadb (patch) | |
tree | 524c6537143940c65daea3aa142c2e5a5cb2d6a4 /src/amd/common/ac_gpu_info.c | |
parent | 56b867395dee1a48594b27987d3bf68a4e745dda (diff) |
radeonsi: don't reallocate on DMABUF export if local BOs are disabled
Diffstat (limited to 'src/amd/common/ac_gpu_info.c')
-rw-r--r-- | src/amd/common/ac_gpu_info.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 73b5da0fe18..73fc36203c1 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -313,6 +313,8 @@ bool ac_query_gpu_info(int fd, amdgpu_device_handle dev, info->has_syncobj_wait_for_submit = info->has_syncobj && info->drm_minor >= 20; info->has_fence_to_handle = info->has_syncobj && info->drm_minor >= 21; info->has_ctx_priority = info->drm_minor >= 22; + /* TODO: Enable this once the kernel handles it efficiently. */ + /*info->has_local_buffers = ws->info.drm_minor >= 20;*/ info->num_render_backends = amdinfo->rb_pipes; info->clock_crystal_freq = amdinfo->gpu_counter_freq; if (!info->clock_crystal_freq) { |