Home
last modified time | relevance | path

Searched refs:submitted_jobs_xa (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/accel/ivpu/
Divpu_sysfs.c31 xa_lock(&vdev->submitted_jobs_xa); in npu_busy_time_us_show()
33 if (!xa_empty(&vdev->submitted_jobs_xa)) in npu_busy_time_us_show()
35 xa_unlock(&vdev->submitted_jobs_xa); in npu_busy_time_us_show()
Divpu_job.c472 xa_lock(&vdev->submitted_jobs_xa); in ivpu_job_remove_from_submitted_jobs()
473 job = __xa_erase(&vdev->submitted_jobs_xa, job_id); in ivpu_job_remove_from_submitted_jobs()
475 if (xa_empty(&vdev->submitted_jobs_xa) && job) { in ivpu_job_remove_from_submitted_jobs()
480 xa_unlock(&vdev->submitted_jobs_xa); in ivpu_job_remove_from_submitted_jobs()
514 xa_for_each(&vdev->submitted_jobs_xa, id, job) in ivpu_jobs_abort_all()
544 xa_lock(&vdev->submitted_jobs_xa); in ivpu_job_submit()
545 is_first_job = xa_empty(&vdev->submitted_jobs_xa); in ivpu_job_submit()
546 ret = __xa_alloc(&vdev->submitted_jobs_xa, &job->job_id, job, job_id_range, GFP_KERNEL); in ivpu_job_submit()
573 xa_unlock(&vdev->submitted_jobs_xa); in ivpu_job_submit()
583 __xa_erase(&vdev->submitted_jobs_xa, job->job_id); in ivpu_job_submit()
[all …]
Divpu_drv.c604 xa_init_flags(&vdev->submitted_jobs_xa, XA_FLAGS_ALLOC1); in ivpu_dev_init()
606 lockdep_set_class(&vdev->submitted_jobs_xa.xa_lock, &submitted_jobs_xa_lock_class_key); in ivpu_dev_init()
678 xa_destroy(&vdev->submitted_jobs_xa); in ivpu_dev_init()
715 drm_WARN_ON(&vdev->drm, !xa_empty(&vdev->submitted_jobs_xa)); in ivpu_dev_fini()
716 xa_destroy(&vdev->submitted_jobs_xa); in ivpu_dev_fini()
Divpu_drv.h141 struct xarray submitted_jobs_xa; member
Divpu_pm.c243 drm_WARN_ON(&vdev->drm, !xa_empty(&vdev->submitted_jobs_xa)); in ivpu_pm_runtime_suspend_cb()