Lines Matching full:termination
40 * timeout for activation where only one of those is involved. Termination
161 reinit_completion(&pxp->termination); in mark_termination_in_progress()
172 drm_err(&xe->drm, "failed to wait for PXP start before termination\n"); in pxp_terminate()
180 * we'll mark the status as needing termination on resume, so no need to in pxp_terminate()
181 * emit a termination now. in pxp_terminate()
189 * If we have a termination already in progress, we need to wait for in pxp_terminate()
191 * termination is completed we'll set the state back to in pxp_terminate()
208 drm_err(&xe->drm, "PXP termination failed: %pe\n", ERR_PTR(ret)); in pxp_terminate()
211 complete_all(&pxp->termination); in pxp_terminate()
220 * - XE_PXP_TERMINATION_IN_PROGRESS: a single termination event was in pxp_terminate_complete()
222 * - XE_PXP_NEEDS_ADDITIONAL_TERMINATION: a second termination was in pxp_terminate_complete()
241 "PXP termination complete while status was %u\n", in pxp_terminate_complete()
245 complete_all(&pxp->termination); in pxp_terminate_complete()
265 * If we're processing a termination irq while suspending then don't in pxp_irq_work()
416 init_completion(&pxp->termination); in xe_pxp_init()
417 complete_all(&pxp->termination); in xe_pxp_init()
505 * otherwise the termination might not handle it correctly. in __exec_queue_add()
548 if (!wait_for_completion_timeout(&pxp->termination, in pxp_start()
581 /* If a termination is in progress then the completion must not be done */ in pxp_start()
582 XE_WARN_ON(completion_done(&pxp->termination)); in pxp_start()
594 if (!completion_done(&pxp->termination)) { in pxp_start()
597 drm_err(&pxp->xe->drm, "PXP termination failed before start\n"); in pxp_start()
600 complete_all(&pxp->termination); in pxp_start()
619 * wrong. Mark the status as needing termination and try again. in pxp_start()
814 * is what the key termination is for). in xe_pxp_bo_key_check()
873 * is a termination pending then no need to issue another one. in xe_pxp_pm_suspend()
902 * if there is a termination in progress, wait for it. in xe_pxp_pm_suspend()
906 if (!wait_for_completion_timeout(&pxp->termination, in xe_pxp_pm_suspend()