Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 26 files:
- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
- drivers/gpu/drm/i915/gem/i915_gem_mman.c
- drivers/gpu/drm/i915/gem/i915_gem_pages.c, line 152
- drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c, line 965
- drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
- drivers/gpu/drm/i915/gt/intel_context.c
- drivers/gpu/drm/i915/gt/intel_engine_cs.c, line 1096
- drivers/gpu/drm/i915/gt/intel_lrc.c, line 1875
- drivers/gpu/drm/i915/gt/intel_renderstate.c, line 169
- drivers/gpu/drm/i915/gt/intel_ring_submission.c, line 1400
- drivers/gpu/drm/i915/gt/intel_workarounds.c, line 3050
- drivers/gpu/drm/i915/gt/selftest_lrc.c, line 423
- drivers/gpu/drm/i915/gt/selftest_timeline.c, line 47
- drivers/gpu/drm/i915/gt/selftest_workarounds.c, line 537
- drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c, line 150
- drivers/gpu/drm/i915/gvt/scheduler.c
- drivers/gpu/drm/i915/i915_fb_pin.c, line 142
- drivers/gpu/drm/i915/i915_gem.c, line 312
- drivers/gpu/drm/i915/i915_gem_ww.h, line 38
- drivers/gpu/drm/i915/i915_overlay.c, line 365
- drivers/gpu/drm/i915/i915_perf.c
- drivers/gpu/drm/i915/i915_vma.c, line 1629
- drivers/gpu/drm/i915/intel_gvt.c, line 299
- drivers/gpu/drm/i915/selftests/i915_gem.c, line 227
- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
Smatch caller information:
drivers/gpu/drm/i915/i915_overlay.c i915_overlay_pin_fb() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 8850196793370980352 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb_relocate_parse_slow() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 5412823990542053656 |
| PARAM_VALUE | 0 | ww->ctx.deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 0 | ww->ctx.deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 0 | ww->intr | 1 |
| PARAM_VALUE | 0 | ww->obj_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | pool->obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c i915_gem_do_execbuffer() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 5412823990542053656 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_migrate.c clear() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 8412870404191088640 |
| PARAM_VALUE | 1 | intr | 1 |
drivers/gpu/drm/i915/gt/intel_migrate.c copy() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 7334606314406129664 |
| PARAM_VALUE | 1 | intr | 1 |
drivers/gpu/drm/i915/gt/intel_migrate.c migrate_vm() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4254656180525498368 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | __flags | ||
| HALF_LOCKED2 | ppgtt->pd->pt.base->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c i915_gem_begin_cpu_access() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 159553267526410240 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c i915_gem_dmabuf_attach() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 5253578350464016384 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c i915_gem_end_cpu_access() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 7921385115042738176 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_vma.c i915_ggtt_pin() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 6336966952789970944 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/i915_vma.c i915_vma_pin() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 9074164240162025472 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->engines_mutex | ||
| HALF_LOCKED2 | &display->hdcp.hdcp_mutex | ||
| HALF_LOCKED2 | >->perf.lock |
drivers/gpu/drm/i915/i915_gem_gtt.c igt_ppgtt_alloc() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 2528497828003164160 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_gem_gtt.c lowlevel_hole() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4127457951580446720 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ppgtt->pd->pt.base->base.resv |
drivers/gpu/drm/i915/gt/intel_context.c __intel_context_do_pin() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 8427573075972104192 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_context.c intel_context_create_request() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 606030278596935680 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->engines_mutex |
drivers/gpu/drm/i915/gem/i915_gem_context.c emit_rpcs_query() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 899363081031503872 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_renderstate.c intel_renderstate_init() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4077445944358031360 |
| PARAM_VALUE | 1 | intr | 1 |
| MEM_ZERO | 0 | ww | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/i915/gem/i915_gem_object.c __igt_lmem_pages_migrate() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4909251368295780352 |
| PARAM_VALUE | 1 | intr | 1 |
drivers/gpu/drm/i915/gem/i915_gem_object.c __igt_lmem_pages_migrate() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4909251368295780352 |
| PARAM_VALUE | 0 | ww->intr | 1 |
| PARAM_VALUE | 0 | ww->obj_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intr | 1 |
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_object.c igt_create_migrate() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 5820987673129783296 |
| PARAM_VALUE | 1 | intr | 1 |
drivers/gpu/drm/i915/i915_perf.c alloc_noa_wait() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 6374668808669626368 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL | |||
| LOCK2 | >->perf.lock | ||
| TYPE_LOCK | (struct i915_perf_gt)->lock |
drivers/gpu/drm/i915/i915_perf.c alloc_oa_config_buffer() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 26912046190428160 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | &stream->lock |
drivers/gpu/drm/i915/i915_perf.c emit_oa_config() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 2009203195910639616 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | &stream->lock |
drivers/gpu/drm/i915/i915_perf.c oa_pin_context() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 3432367090225971200 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL | |||
| LOCK2 | >->perf.lock | ||
| TYPE_LOCK | (struct i915_perf_gt)->lock |
drivers/gpu/drm/i915/gt/intel_engine_cs.c init_status_page() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4588834674475732992 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_pages.c i915_gem_object_pin_pages_unlocked() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 8116942592190631936 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_timeline.c selftest_tl_pin() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 5653201637776154624 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_lrc.c __live_lrc_state() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 5101519123401379840 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_lrc.c lrc_init_wa_ctx() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 627658359970336768 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gvt/scheduler.c prepare_shadow_batch_buffer() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 605806084086583296 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &vgpu->vgpu_lock | ||
| HALF_LOCKED2 | bb->obj->base.resv | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c prepare_shadow_wa_ctx() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 172657942985900032 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &vgpu->vgpu_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c intel_gsc_uc_heci_cmd_submit_nonpriv() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 7673706149579145216 |
| PARAM_VALUE | 1 | intr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pxp->tee_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &pxp->arb_mutex | ||
| TYPE_LOCK | (struct intel_pxp)->tee_mutex |
drivers/gpu/drm/i915/gt/intel_ring_submission.c intel_ring_submission_setup() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4970862321632350208 |
| PARAM_VALUE | 1 | intr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/gpu/drm/i915/i915_gem_evict.c igt_evict_vm() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 10796541522907136 |
| PARAM_VALUE | 1 | intr | 0 |
drivers/gpu/drm/i915/i915_dpt.c i915_dpt_pin_to_ggtt() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 1246602021956198400 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/i915_gem.c i915_gem_gtt_prepare() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4788333397751943168 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_gem.c i915_gem_object_ggtt_pin() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 7777990759765643264 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/i915_gem.c igt_gem_ww_ctx() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 3951897596242857984 |
| PARAM_VALUE | 1 | intr | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_fb_pin.c intel_fb_pin_to_dpt() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 3890376628320120832 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/i915_fb_pin.c intel_fb_pin_to_ggtt() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 460035036174888960 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock |
drivers/gpu/drm/i915/gem/i915_gem_mman.c __igt_mmap_gpu() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 3820547981149724672 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_mman.c make_obj_busy() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 1882010709114056704 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_mman.c vm_access() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 882918402365345792 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock |
drivers/gpu/drm/i915/gem/i915_gem_mman.c vm_fault_gtt() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 3754542896867966976 |
| PARAM_VALUE | 1 | intr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_tlb.c mem_tlbinv() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 3741821111035711488 |
| PARAM_VALUE | 1 | intr | 1 |
drivers/gpu/drm/i915/i915_bo.c i915_bo_fbdev_fill_info() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 6449104611468197888 |
| PARAM_VALUE | 1 | intr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/i915/gem/i915_gem_region.c i915_gem_process_region() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 4870122767541776384 |
| PARAM_VALUE | 1 | intr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | backup->base.resv | ||
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/i915/gt/intel_workarounds.c check_dirty_whitelist() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 3925582039501209600 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | batch->obj->base.resv | ||
| HALF_LOCKED2 | scratch->obj->base.resv |
drivers/gpu/drm/i915/gt/intel_workarounds.c engine_wa_list_verify() -> i915_gem_ww_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ww | 1348751653119840256 |
| PARAM_VALUE | 1 | intr | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __flags |