Lines Matching refs:cccb_fence
390 struct pvr_queue_fence *cccb_fence; in pvr_queue_get_job_cccb_fence() local
396 if (!job->cccb_fence) in pvr_queue_get_job_cccb_fence()
404 pvr_queue_fence_put(job->cccb_fence); in pvr_queue_get_job_cccb_fence()
405 job->cccb_fence = NULL; in pvr_queue_get_job_cccb_fence()
418 cccb_fence = container_of(job->cccb_fence, struct pvr_queue_fence, base); in pvr_queue_get_job_cccb_fence()
419 if (!WARN_ON(cccb_fence->queue)) in pvr_queue_get_job_cccb_fence()
420 pvr_queue_cccb_fence_init(job->cccb_fence, queue); in pvr_queue_get_job_cccb_fence()
425 return dma_fence_get(job->cccb_fence); in pvr_queue_get_job_cccb_fence()
934 struct pvr_queue_fence *cccb_fence; in pvr_queue_check_job_waiting_for_cccb_space() local
946 if (WARN_ON(!job->cccb_fence)) { in pvr_queue_check_job_waiting_for_cccb_space()
952 cccb_fence = container_of(job->cccb_fence, struct pvr_queue_fence, base); in pvr_queue_check_job_waiting_for_cccb_space()
953 if (WARN_ON(!cccb_fence->queue)) { in pvr_queue_check_job_waiting_for_cccb_space()
968 dma_fence_signal(job->cccb_fence); in pvr_queue_check_job_waiting_for_cccb_space()
969 pvr_queue_fence_put(job->cccb_fence); in pvr_queue_check_job_waiting_for_cccb_space()
970 job->cccb_fence = NULL; in pvr_queue_check_job_waiting_for_cccb_space()
1092 job->cccb_fence = pvr_queue_fence_alloc(); in pvr_queue_job_init()
1095 if (!job->cccb_fence || !job->kccb_fence || !job->done_fence) in pvr_queue_job_init()
1132 pvr_queue_fence_put(job->cccb_fence); in pvr_queue_job_cleanup()