Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
vce.available_rings ? vce_version : 0;
info->has_userptr = true;
info->has_syncobj = has_syncobj(fd);
+ info->has_sync_file = info->has_syncobj && info->drm_minor >= 21;
info->num_render_backends = amdinfo->rb_pipes;
info->clock_crystal_freq = amdinfo->gpu_counter_freq;
if (!info->clock_crystal_freq) {
uint32_t drm_patchlevel;
bool has_userptr;
bool has_syncobj;
+ bool has_sync_file;
/* Shader cores. */
uint32_t r600_max_quad_pipes; /* wave size / 16 */
rscreen->info.drm_minor, rscreen->info.drm_patchlevel);
printf("has_userptr = %i\n", rscreen->info.has_userptr);
printf("has_syncobj = %u\n", rscreen->info.has_syncobj);
+ printf("has_sync_file = %u\n", rscreen->info.has_sync_file);
printf("r600_max_quad_pipes = %i\n", rscreen->info.r600_max_quad_pipes);
printf("max_shader_clock = %i\n", rscreen->info.max_shader_clock);