Lines Matching refs:timestamp
59 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp) in kgsl_pipe_wait() argument
63 .timestamp = timestamp, in kgsl_pipe_wait()
74 kgsl_pipe_process_pending(kgsl_pipe, timestamp); in kgsl_pipe_wait()
78 int kgsl_pipe_timestamp(struct kgsl_pipe *kgsl_pipe, uint32_t *timestamp) in kgsl_pipe_timestamp() argument
89 *timestamp = req.timestamp; in kgsl_pipe_timestamp()
146 uint32_t timestamp = kgsl_bo_get_timestamp(kgsl_bo); in kgsl_pipe_pre_submit() local
147 if (timestamp) in kgsl_pipe_pre_submit()
148 fd_pipe_wait(kgsl_pipe->p3d, timestamp); in kgsl_pipe_pre_submit()
153 void kgsl_pipe_post_submit(struct kgsl_pipe *kgsl_pipe, uint32_t timestamp) in kgsl_pipe_post_submit() argument
161 kgsl_bo->timestamp[pipe->id] = timestamp; in kgsl_pipe_post_submit()
164 kgsl_bo_set_timestamp(kgsl_bo, timestamp); in kgsl_pipe_post_submit()
167 if (!kgsl_pipe_timestamp(kgsl_pipe, ×tamp)) in kgsl_pipe_post_submit()
168 kgsl_pipe_process_pending(kgsl_pipe, timestamp); in kgsl_pipe_post_submit()
171 void kgsl_pipe_process_pending(struct kgsl_pipe *kgsl_pipe, uint32_t timestamp) in kgsl_pipe_process_pending() argument
178 if (kgsl_bo->timestamp[pipe->id] > timestamp) in kgsl_pipe_process_pending()
181 kgsl_bo->timestamp[pipe->id] = 0; in kgsl_pipe_process_pending()