Home
last modified time | relevance | path

Searched refs:semaphores (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dscr/
H A Ddscr_explicit_test.c55 sem_t semaphores[2]; in dscr_explicit_lockstep_test() local
56 sem_t *prev = &semaphores[1]; /* reversed prev/next than for the other thread */ in dscr_explicit_lockstep_test()
57 sem_t *next = &semaphores[0]; in dscr_explicit_lockstep_test()
68 FAIL_IF(pthread_create(&thread, NULL, dscr_explicit_lockstep_thread, (void *)semaphores)); in dscr_explicit_lockstep_test()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_sync.c46 sync->semaphores[i] = NULL; in radeon_sync_create()
80 * radeon_sync_resv - use the semaphores to sync to a reservation object
168 sync->semaphores[count++] = semaphore; in radeon_sync_rings()
209 * Free the sync object by freeing all semaphores in it.
218 radeon_semaphore_free(rdev, &sync->semaphores[i], fence); in radeon_sync_free()
H A Dradeon.h617 struct radeon_semaphore *semaphores[RADEON_NUM_SYNCS]; member
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_sync.c46 sync->semaphores[i] = NULL; in radeon_sync_create()
80 * radeon_sync_resv - use the semaphores to sync to a reservation object
153 sync->semaphores[count++] = semaphore; in radeon_sync_rings()
194 * Free the sync object by freeing all semaphores in it.
203 radeon_semaphore_free(rdev, &sync->semaphores[i], fence); in radeon_sync_free()
H A Dradeon.h572 struct radeon_semaphore *semaphores[RADEON_NUM_SYNCS]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_scheduler_types.h69 intel_engine_mask_t semaphores; member
H A Di915_request.c556 * Are we using semaphores when the gpu is already saturated? in __i915_request_submit()
558 * Using semaphores incurs a cost in having the GPU poll a in __i915_request_submit()
566 * system is overloaded and using semaphores at this time only in __i915_request_submit()
568 * further use of semaphores until we are idle again, whence we in __i915_request_submit()
571 if (request->sched.semaphores && in __i915_request_submit()
573 engine->saturated |= request->sched.semaphores; in __i915_request_submit()
646 if (request->sched.semaphores && i915_request_started(request)) in __i915_request_unsubmit()
647 request->sched.semaphores = 0; in __i915_request_unsubmit()
1020 return rq->sched.semaphores | READ_ONCE(rq->engine->saturated); in already_busywaiting()
1114 to->sched.semaphores | in emit_semaphore_wait()
[all...]
H A Di915_scheduler.c402 node->semaphores = 0; in i915_sched_node_reinit()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_scheduler_types.h69 intel_engine_mask_t semaphores; member
H A Di915_request.c643 * Are we using semaphores when the gpu is already saturated? in __i915_request_submit()
645 * Using semaphores incurs a cost in having the GPU poll a in __i915_request_submit()
653 * system is overloaded and using semaphores at this time only in __i915_request_submit()
655 * further use of semaphores until we are idle again, whence we in __i915_request_submit()
658 if (request->sched.semaphores && in __i915_request_submit()
660 engine->saturated |= request->sched.semaphores; in __i915_request_submit()
737 if (request->sched.semaphores && __i915_request_has_started(request)) in __i915_request_unsubmit()
738 request->sched.semaphores = 0; in __i915_request_unsubmit()
1140 return rq->sched.semaphores | READ_ONCE(rq->engine->saturated); in already_busywaiting()
1220 * semaphores a in emit_semaphore_wait()
[all...]
H A Di915_scheduler.c308 node->semaphores = 0; in i915_sched_node_reinit()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
H A Dcx18-scb.h231 u32 semaphores[8]; /* Semaphores */ member
/kernel/linux/linux-6.6/drivers/media/pci/cx18/
H A Dcx18-scb.h231 u32 semaphores[8]; /* Semaphores */ member

Completed in 30 milliseconds