Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 25 of 31) sorted by relevance

12

/dflybsd-src/sys/dev/drm/i915/
H A Di915_gem_context.h199 return test_bit(CONTEXT_CLOSED, &ctx->flags); in i915_gem_context_is_closed()
210 return test_bit(CONTEXT_NO_ERROR_CAPTURE, &ctx->flags); in i915_gem_context_no_error_capture()
225 return test_bit(CONTEXT_BANNABLE, &ctx->flags); in i915_gem_context_is_bannable()
240 return test_bit(CONTEXT_BANNED, &ctx->flags); in i915_gem_context_is_banned()
250 return test_bit(CONTEXT_FORCE_SINGLE_SUBMISSION, &ctx->flags); in i915_gem_context_force_single_submission()
H A Dintel_breadcrumbs.c69 yesno(test_bit(ENGINE_IRQ_BREADCRUMB, in missed_breadcrumb()
228 if (!test_bit(engine->id, &engine->i915->gpu_error.missed_irq_rings)) in use_fake_irq()
287 if (!test_bit(engine->id, &i915->gpu_error.test_irq_rings)) in __intel_breadcrumbs_enable_irq()
609 if (!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, in intel_breadcrumbs_signaler()
H A Di915_gem_request.c48 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in i915_fence_get_timeline_name()
473 if (test_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, &request->fence.flags)) in __i915_gem_request_submit()
517 if (test_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, &request->fence.flags)) in __i915_gem_request_unsubmit()
813 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in i915_gem_request_await_dma_fence()
H A Di915_gem_object.h360 return test_bit(I915_BO_ACTIVE_REF, &obj->flags); in i915_gem_object_has_active_reference()
H A Di915_guc_submission.c186 return test_bit(client->doorbell_id, client->guc->doorbell_bitmap); in has_doorbell()
541 GEM_BUG_ON(test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &rq->fence.flags)); in nested_enable_signaling()
662 if (test_bit(db_id, guc->doorbell_bitmap) == valid) in doorbell_ok()
H A Di915_vma.h164 return test_bit(I915_VMA_USERFAULT_BIT, &vma->flags); in i915_vma_has_userfault()
H A Di915_gem_fence_reg.c761 if ((new_bit_17 & 0x1) != (test_bit(i, obj->bit_17) != 0)) { in i915_gem_object_do_bit_17_swizzle()
H A Dintel_ringbuffer.h554 return test_bit(bit, (unsigned long *)&execlists->active); in execlists_is_active()
H A Di915_drv.c1954 GEM_BUG_ON(!test_bit(I915_RESET_BACKOFF, &error->flags)); in i915_reset()
1956 if (!test_bit(I915_RESET_HANDOFF, &error->flags)) in i915_reset()
2049 GEM_BUG_ON(!test_bit(I915_RESET_ENGINE + engine->id, &error->flags)); in i915_reset_engine()
H A Dintel_engine_cs.c1553 if (test_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted)) in intel_engine_is_idle()
1725 yesno(test_bit(ENGINE_IRQ_EXECLIST, in intel_engine_dump()
H A Di915_drv.h3704 return unlikely(test_bit(I915_RESET_BACKOFF, &error->flags)); in i915_reset_backoff()
3709 return unlikely(test_bit(I915_RESET_HANDOFF, &error->flags)); in i915_reset_handoff()
3714 return unlikely(test_bit(I915_WEDGED, &error->flags)); in i915_terminally_wedged()
4387 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &req->fence.flags)) in __i915_request_irq_complete()
H A Dintel_lrc.c793 while (test_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted)) { in intel_lrc_irq_handler()
1883 if (WARN_ON(test_bit(TASKLET_STATE_SCHED, &engine->execlists.irq_tasklet.state))) in intel_logical_ring_cleanup()
H A Di915_irq.c1095 if (!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, in notify_ring()
2794 if (!test_bit(I915_WEDGED, &dev_priv->gpu_error.flags)) in i915_reset_device()
2888 !test_bit(I915_RESET_BACKOFF, in i915_handle_error()
H A Di915_gem.c381 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in i915_gem_object_wait_fence()
3164 GEM_BUG_ON(test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, in i915_gem_find_active_request()
3507 if (!test_bit(I915_WEDGED, &i915->gpu_error.flags)) in i915_gem_unset_wedged()
/dflybsd-src/sys/dev/drm/
H A Dlinux_fence.c96 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in dma_fence_default_wait()
104 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in dma_fence_default_wait()
125 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) { in dma_fence_default_wait()
158 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) { in dma_fence_test_signaled_any()
264 !test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags) && in dma_fence_enable_sw_signaling()
283 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) { in dma_fence_add_callback()
292 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in dma_fence_add_callback()
H A Dlinux_kthread.c85 return test_bit(KTHREAD_SHOULD_STOP, &current->kt_flags); in kthread_should_stop()
123 return test_bit(KTHREAD_SHOULD_PARK, &current->kt_flags); in kthread_should_park()
129 if (test_bit(KTHREAD_SHOULD_PARK, &current->kt_flags) == 0) in kthread_parkme()
H A Dlinux_tasklet.c76 if (test_bit(TASKLET_IS_DYING, &t->state)) { \
86 if (!test_bit(TASKLET_STATE_SCHED, &t->state)) \
H A Dlinux_wait.c111 if (!test_bit(bit, word)) in wait_on_bit_timeout()
123 } while (test_bit(bit, word) && !timeout_expired); in wait_on_bit_timeout()
H A Dlinux_reservation.c443 if (fence && !test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) { in reservation_object_wait_timeout_rcu()
466 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, in reservation_object_wait_timeout_rcu()
510 if (!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &lfence->flags)) { in reservation_object_test_signaled_single()
H A Ddrm_modes.c1102 if (test_bit(vic, hdmi->y420_vdb_modes)) { in drm_mode_validate_ycbcr420()
1622 return test_bit(vic, display->hdmi.y420_vdb_modes); in drm_mode_is_420_only()
1642 return test_bit(vic, display->hdmi.y420_cmdb_modes); in drm_mode_is_420_also()
/dflybsd-src/sys/dev/drm/amd/amdgpu/
H A Damdgpu_gfx.h89 return test_bit(amdgpu_gfx_queue_to_bit(adev, mec, pipe, queue), in amdgpu_gfx_is_mec_queue_enabled()
H A Damdgpu_gfx.c177 if (test_bit(queue_bit, adev->gfx.mec.queue_bitmap)) in amdgpu_gfx_kiq_acquire()
/dflybsd-src/sys/dev/drm/include/linux/
H A Ddma-fence.h118 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in dma_fence_is_signaled()
H A Dbitops.h311 #define test_bit(i, a) \ macro
/dflybsd-src/sys/dev/drm/radeon/
H A Dradeon_fence.c1055 return test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->base.flags); in radeon_test_signaled()

12