info->has_userptr = true;
info->has_syncobj = has_syncobj(fd);
info->has_syncobj_wait_for_submit = info->has_syncobj && info->drm_minor >= 20;
- info->has_sync_file = info->has_syncobj && info->drm_minor >= 21;
+ info->has_fence_to_handle = info->has_syncobj && info->drm_minor >= 21;
info->has_ctx_priority = info->drm_minor >= 22;
info->num_render_backends = amdinfo->rb_pipes;
info->clock_crystal_freq = amdinfo->gpu_counter_freq;
info->drm_minor, info->drm_patchlevel);
printf("has_userptr = %i\n", info->has_userptr);
printf("has_syncobj = %u\n", info->has_syncobj);
- printf("has_sync_file = %u\n", info->has_sync_file);
+ printf("has_fence_to_handle = %u\n", info->has_fence_to_handle);
printf("r600_max_quad_pipes = %i\n", info->r600_max_quad_pipes);
printf("max_shader_clock = %i\n", info->max_shader_clock);
*pfence = NULL;
- if (!sscreen->info.has_sync_file)
+ if (!sscreen->info.has_fence_to_handle)
return;
rfence = si_create_multi_fence();
struct si_multi_fence *rfence = (struct si_multi_fence *)fence;
int gfx_fd = -1, sdma_fd = -1;
- if (!sscreen->info.has_sync_file)
+ if (!sscreen->info.has_fence_to_handle)
return -1;
util_queue_fence_wait(&rfence->ready);
return 0;
case PIPE_CAP_NATIVE_FENCE_FD:
- return sscreen->info.has_sync_file;
+ return sscreen->info.has_fence_to_handle;
case PIPE_CAP_QUERY_BUFFER_OBJECT:
return si_have_tgsi_compute(sscreen);