test_bit
if (test_bit(queue_bit, adev->gfx.mec.queue_bitmap))
return test_bit(amdgpu_gfx_queue_to_bit(adev, mec, pipe, queue),
if (!test_bit(i, adev->gfx.mec.queue_bitmap))
reserve = test_bit(pipe, adev->gfx.pipe_reserve_bitmap);
reserve = test_bit(pipe, adev->gfx.pipe_reserve_bitmap);
if (!test_bit(i, adev->gfx.mec.queue_bitmap))
reserve = test_bit(pipe, adev->gfx.pipe_reserve_bitmap);
reserve = test_bit(pipe, adev->gfx.pipe_reserve_bitmap);
if (test_bit(vic, hdmi->y420_vdb_modes)) {
return test_bit(vic, display->hdmi.y420_vdb_modes);
return test_bit(vic, display->hdmi.y420_cmdb_modes);
GEM_BUG_ON(!test_bit(I915_RESET_BACKOFF, &error->flags));
if (!test_bit(I915_RESET_HANDOFF, &error->flags))
GEM_BUG_ON(!test_bit(I915_RESET_ENGINE + engine->id, &error->flags));
return unlikely(test_bit(I915_RESET_BACKOFF, &error->flags));
return unlikely(test_bit(I915_RESET_HANDOFF, &error->flags));
return unlikely(test_bit(I915_WEDGED, &error->flags));
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &rq->fence.flags))
if (!test_bit(I915_WEDGED, &i915->gpu_error.flags))
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
args->value = test_bit(UCONTEXT_NO_ZEROMAP, &ctx->user_flags);
return test_bit(CONTEXT_CLOSED, &ctx->flags);
return test_bit(UCONTEXT_NO_ERROR_CAPTURE, &ctx->user_flags);
return test_bit(UCONTEXT_BANNABLE, &ctx->user_flags);
return test_bit(CONTEXT_BANNED, &ctx->flags);
return test_bit(CONTEXT_FORCE_SINGLE_SUBMISSION, &ctx->flags);
if (test_bit(UCONTEXT_NO_ZEROMAP, &ctx->user_flags))
if ((new_bit_17 & 0x1) != (test_bit(i, obj->bit_17) != 0)) {
GEM_BUG_ON(test_bit(index, ppat->used));
GEM_BUG_ON(!test_bit(index, ppat->used));
return test_bit(I915_BO_ACTIVE_REF, &obj->flags);
!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT,
if (!test_bit(I915_WEDGED, &error->flags))
!test_bit(I915_RESET_BACKOFF,
if (!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &rq->fence.flags))
if (test_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, &rq->fence.flags))
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
if (test_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, &request->fence.flags))
if (test_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, &request->fence.flags))
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
return test_bit(I915_VMA_USERFAULT_BIT, &vma->flags);
if (!test_bit(engine->id, &engine->i915->gpu_error.missed_irq_rings)) {
if (!test_bit(engine->id, &engine->i915->gpu_error.missed_irq_rings))
!test_bit(engine->id, &i915->gpu_error.test_irq_rings)) {
if (!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT,
|| test_bit(I915_RESET_MODESET, &dev_priv->gpu_error.flags))
if (!test_bit(I915_RESET_MODESET, &dev_priv->gpu_error.flags))
yesno(test_bit(TASKLET_STATE_SCHED,
yesno(test_bit(ENGINE_IRQ_BREADCRUMB,
return test_bit(client->doorbell_id, client->guc->doorbell_bitmap);
if (test_bit(db_id, guc->doorbell_bitmap) == valid)
if (WARN_ON(test_bit(TASKLET_STATE_SCHED,
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &rq->fence.flags))
return test_bit(bit, (unsigned long *)&execlists->active);
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) {
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) {
!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags) &&
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) {
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
return test_bit(KTHREAD_SHOULD_PARK, ¤t->kt_flags);
if (test_bit(KTHREAD_SHOULD_PARK, ¤t->kt_flags) == 0)
return test_bit(KTHREAD_SHOULD_STOP, ¤t->kt_flags);
if (fence && !test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) {
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT,
if (!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &lfence->flags)) {
while (test_bit(TASKLET_STATE_RUN, &t->state)) {
if (test_bit(TASKLET_IS_DYING, &t->state)) { \
if (!test_bit(bit, word))
} while (test_bit(bit, word) && !timeout_expired);
return test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->base.flags);
if (test_bit(MRSAS_FUSION_IN_RESET, &sc->reset_flags)) {