Searched refs:fence_state (Results 1 – 1 of 1) sorted by relevance
1134 static int setup_out_fence(struct drm_out_fence_state *fence_state, in setup_out_fence() argument1137 fence_state->fd = get_unused_fd_flags(O_CLOEXEC); in setup_out_fence()1138 if (fence_state->fd < 0) in setup_out_fence()1139 return fence_state->fd; in setup_out_fence()1141 if (put_user(fence_state->fd, fence_state->out_fence_ptr)) in setup_out_fence()1144 fence_state->sync_file = sync_file_create(fence); in setup_out_fence()1145 if (!fence_state->sync_file) in setup_out_fence()1155 struct drm_out_fence_state **fence_state, in prepare_signaling() argument1201 f = krealloc(*fence_state, sizeof(**fence_state) * in prepare_signaling()1209 *fence_state = f; in prepare_signaling()[all …]