Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_clflush.c dma_fence_work_commit() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/i915_vma.c dma_fence_work_commit() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 __flags
HALF_LOCKED2 bo->base.resv
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 engine->legacy.ring->vma->obj->base.resv
HALF_LOCKED2 obj->base.resv
HALF_LOCKED2 rpcs->base.resv
HALF_LOCKED2 timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 vma->obj->base.resv

drivers/gpu/drm/i915/gt/intel_context.c intel_context_init() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->pending.counter 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &file_priv->proto_context_lock

drivers/gpu/drm/i915/gem/i915_gem_context.c engines_idle_release() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctx->engines_mutex
TYPE_LOCK (struct i915_gem_context)->engines_mutex

drivers/gpu/drm/i915/i915_active.c __live_active_setup() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r heap_fence_create
NOCHECK_CALL

drivers/gpu/drm/i915/gt/intel_timeline.c live_hwsp_read() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->pending.counter 1
BUF_SIZE 0 fence 112
DATA_SOURCE 0 fence r heap_fence_create
NOCHECK_CALL
LOCK2 rq->context->timeline->mutex
LOCK2 rq->context->timeline->mutex
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/i915_vma_resource.c i915_vma_resource_unbind() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &vm->mutex
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/gt/uc/intel_huc.c delayed_huc_load_init() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->pending.counter 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/gt/uc/intel_huc.c huc_delayed_load_start() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->pending.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 __flags
HALF_LOCKED2 &gt->reset.mutex

drivers/gpu/drm/i915/i915_request.c __i915_request_queue_bh() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &timelines->lock
HALF_LOCKED2 &wf->mutex
HALF_LOCKED2 bh

drivers/gpu/drm/i915/i915_request.c __i915_request_queue_bh() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &timelines->lock
HALF_LOCKED2 &wf->mutex
HALF_LOCKED2 bh

drivers/gpu/drm/i915/i915_request.c __igt_breadcrumbs_smoketest() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->pending.counter 1
BUF_SIZE 0 fence 112
DATA_SOURCE 0 fence r heap_fence_create
NOCHECK_CALL

drivers/gpu/drm/i915/i915_request.c __igt_breadcrumbs_smoketest() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r heap_fence_create
NOCHECK_CALL

drivers/gpu/drm/i915/i915_request.c __igt_breadcrumbs_smoketest() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
BUF_SIZE 0 fence 112
DATA_SOURCE 0 fence r heap_fence_create
NOCHECK_CALL

drivers/gpu/drm/i915/i915_request.c measure_inter_request() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r heap_fence_create
NOCHECK_CALL

drivers/gpu/drm/i915/i915_request.c measure_inter_request() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r heap_fence_create
NOCHECK_CALL

drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c guc_blocked_fence_reinit() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->pending.counter 0-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ce->guc_state.lock
LOCK2 flags
HALF_LOCKED2 &ce->pin_mutex
HALF_LOCKED2 &ce->timeline->mutex
TYPE_LOCK (struct intel_context)->guc_state.lock

drivers/gpu/drm/i915/i915_sw_fence.c __test_self() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->fn 3647760144679219200
PARAM_VALUE 0 fence->pending.counter 1
PARAM_VALUE 0 fence->wait.head.next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
DATA_SOURCE 0 fence $0
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c onstack_fence_fini() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4559959778804772864
PARAM_VALUE 0 fence->flags 0-u32max
PARAM_VALUE 0 fence->fn 1-u64max
DATA_SOURCE 0 fence $0
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c task_ipc() -> i915_sw_fence_commit()

Type Parameter Key Value
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/i915_sw_fence.c test_AB() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_AB() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_ABC() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_ABC() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_ABC() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_AB_C() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_AB_C() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_AB_C() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_C_AB() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_C_AB() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_C_AB() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_chain() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_chain() -> i915_sw_fence_commit()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_dag() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_dag() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_dag() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
CAPPED_DATA 0 fence 1
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c test_ipc() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->pending.counter 1
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c timed_fence_fini() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 1022144261503651840
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c timed_fence_init() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 1022144261503651840
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->flags 0-u32max
PARAM_VALUE 0 fence->fn 5037760084410662912
PARAM_VALUE 0 fence->pending.counter 1
PARAM_VALUE 0 fence->wait.head.next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev 4096-ptr_max
PREEMPT_ADD
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c timed_fence_wake() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/i915_sw_fence.c wrap_dma_fence() -> i915_sw_fence_commit()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->flags 0-4194302
PARAM_VALUE 0 fence->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 fence 112
DATA_SOURCE 0 fence r alloc_fence
NOCHECK_CALL