Searched refs:active_count (Results 1 - 11 of 11) sorted by relevance

/openbsd-current/sys/dev/pci/drm/i915/gt/
H A Dintel_gt_requests.c138 unsigned long active_count = 0; local
145 active_count++; /* report busy to caller, try again? */
150 GEM_BUG_ON(!atomic_read(&tl->active_count));
151 atomic_inc(&tl->active_count); /* pin the list element */
168 active_count++;
175 active_count++;
182 if (atomic_dec_and_test(&tl->active_count))
187 GEM_BUG_ON(atomic_read(&tl->active_count));
197 active_count++;
202 return active_count
[all...]
H A Dintel_timeline_types.h28 * pin_count and active_count track essentially the same thing:
39 * Note that the active_count is protected by the intel_timeline.mutex,
44 atomic_t active_count; member in struct:intel_timeline
H A Dintel_timeline.c251 * barrier, and there we use the tl->active_count as a means to
254 * use atomic to manipulate tl->active_count.
258 if (atomic_add_unless(&tl->active_count, 1, 0))
262 if (!atomic_fetch_inc(&tl->active_count)) {
282 GEM_BUG_ON(!atomic_read(&tl->active_count));
283 if (atomic_add_unless(&tl->active_count, -1, 1))
287 if (atomic_dec_and_test(&tl->active_count))
434 GEM_BUG_ON(!atomic_read(&tl->active_count));
435 atomic_inc(&tl->active_count); /* pin the list element */
475 if (atomic_dec_and_test(&tl->active_count))
[all...]
H A Dintel_context.h211 if (ce->active_count++)
222 ++ce->active_count;
228 GEM_BUG_ON(!ce->active_count);
229 if (--ce->active_count)
H A Dintel_engine_pm.c123 GEM_BUG_ON(rq->context->active_count != 1);
129 * engine->wakeref.counter or our timeline->active_count.
138 if (!atomic_fetch_inc(&tl->active_count))
209 GEM_BUG_ON(atomic_read(&ce->timeline->active_count) < 0);
H A Dintel_context_types.h160 unsigned int active_count; /* protected by timeline->mutex */ member in struct:intel_context
H A Dintel_reset.c123 atomic_inc(&ctx->active_count);
/openbsd-current/sys/dev/pci/drm/i915/gem/
H A Di915_gem_context_types.h381 * @active_count: How many times this context was active during a GPU
384 atomic_t active_count; member in struct:i915_gem_context
H A Di915_gem_context.c2591 args->batch_pending = atomic_read(&ctx->active_count);
/openbsd-current/sys/dev/pci/drm/amd/display/modules/hdcp/
H A Dhdcp.h526 uint8_t active_count = 0; local
531 active_count++;
532 return active_count;
/openbsd-current/sys/dev/pci/drm/i915/
H A Di915_gpu_error.c1468 e->active = atomic_read(&ctx->active_count);

Completed in 286 milliseconds