Searched refs:fence_state (Results 1 – 1 of 1) sorted by relevance
1091 static int setup_out_fence(struct drm_out_fence_state *fence_state, in setup_out_fence() argument1094 fence_state->fd = get_unused_fd_flags(O_CLOEXEC); in setup_out_fence()1095 if (fence_state->fd < 0) in setup_out_fence()1096 return fence_state->fd; in setup_out_fence()1098 if (put_user(fence_state->fd, fence_state->out_fence_ptr)) in setup_out_fence()1101 fence_state->sync_file = sync_file_create(fence); in setup_out_fence()1102 if (!fence_state->sync_file) in setup_out_fence()1112 struct drm_out_fence_state **fence_state, in prepare_signaling() argument1158 f = krealloc(*fence_state, sizeof(**fence_state) * in prepare_signaling()1166 *fence_state = f; in prepare_signaling()[all …]