Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 17 files:
- drivers/gpu/drm/i915/gem/i915_gem_lmem.c, line 92
- drivers/gpu/drm/i915/gem/selftests/huge_pages.c
- drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c, line 280
- drivers/gpu/drm/i915/gem/selftests/i915_gem_migrate.c, line 199
- drivers/gpu/drm/i915/gt/gen8_ppgtt.c, line 968
- drivers/gpu/drm/i915/gt/intel_gsc.c, line 49
- drivers/gpu/drm/i915/gt/intel_gt.c, line 471
- drivers/gpu/drm/i915/gt/intel_lrc.c, line 1096
- drivers/gpu/drm/i915/gt/intel_ring.c, line 118
- drivers/gpu/drm/i915/gt/selftest_migrate.c
- drivers/gpu/drm/i915/gt/selftest_tlb.c, line 212
- drivers/gpu/drm/i915/gt/uc/intel_guc.c, line 786
- drivers/gpu/drm/i915/i915_bo.c, line 174
- drivers/gpu/drm/i915/i915_dpt.c, line 197
- drivers/gpu/drm/i915/i915_dsb_buffer.c, line 56
- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c, line 243
- drivers/gpu/drm/i915/selftests/intel_memory_region.c
Smatch caller information:
drivers/gpu/drm/i915/gt/uc/intel_guc.c intel_guc_allocate_vma() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 37 |
| DATA_SOURCE | 1 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | size | 1-4000000[c] |
| UNITS | 1 | size | unit_byte |
drivers/gpu/drm/i915/gt/intel_migrate.c create_init_lmem_internal() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 0 |
| DATA_SOURCE | 1 | size | $1 |
drivers/gpu/drm/i915/gt/intel_migrate.c create_lmem_or_internal() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 4096,65536,2097152,8384512,8388608,8392704,16777216,67108864 |
| PARAM_VALUE | 2 | flags | 0 |
| DATA_SOURCE | 0 | i915 | $0 |
| DATA_SOURCE | 1 | size | $1 |
drivers/gpu/drm/i915/i915_dsb_buffer.c intel_dsb_buffer_create() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->__info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 4096,8192,65536 |
| PARAM_VALUE | 2 | flags | 1 |
| DATA_SOURCE | 0 | i915 | r to_i915 |
| BIT_INFO | 1 | size | 0x0,0x1f000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c __create_vma() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 65536 |
| PARAM_VALUE | 2 | flags | 0 |
| DATA_SOURCE | 1 | size | $1 |
drivers/gpu/drm/i915/gem/i915_gem_object.c __igt_lmem_pages_migrate() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 2097152 |
| PARAM_VALUE | 2 | flags | 0 |
drivers/gpu/drm/i915/gem/i915_gem_object.c igt_create_local() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | i915 | $0 |
| DATA_SOURCE | 1 | size | $1 |
| DATA_SOURCE | 2 | flags | $2 |
drivers/gpu/drm/i915/gem/i915_gem_object.c igt_ppgtt_compact() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->__info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 4194304 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | i915 | $0 |
drivers/gpu/drm/i915/gem/i915_gem_lmem.c i915_gem_object_create_lmem_from_data() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->__info | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 1 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | i915 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gt/gen8_ppgtt.c gen8_init_rsvd() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | flags | 66 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &gvt->lock | ||
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/i915/gt/intel_lrc.c __lrc_alloc_state() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ce->pin_mutex | ||
| TYPE_LOCK | (struct intel_context)->pin_mutex |
drivers/gpu/drm/i915/gt/intel_gt.c intel_gt_init_scratch() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 4096,262144 |
| PARAM_VALUE | 2 | flags | 66 |
| DATA_SOURCE | 1 | size | $1 |
| FUZZY_MAX | 1 | size | 262144 |
| BIT_INFO | 1 | size | 0x0,0x41000 |
| HARD_MAX | 1 | size | 262144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | i915->uncore.fifo_count | 0-127,u32max |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/gt/intel_ring.c create_ring_vma() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | flags | 18 |
| DATA_SOURCE | 1 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | size | |
| HALF_LOCKED2 | &ce->pin_mutex |
drivers/gpu/drm/i915/intel_memory_region.c igt_lmem_create() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | i915 | $0 |
drivers/gpu/drm/i915/intel_memory_region.c igt_lmem_create_cleared_cpu() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915->bdev.wq->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | i915->mm.free_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 2 | flags | 0,4 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | i915 | $0 |
| FUZZY_MAX | 2 | flags | 4 |
| BIT_INFO | 2 | flags | 0x0,0x4 |
| HARD_MAX | 2 | flags | 4 |
drivers/gpu/drm/i915/intel_memory_region.c igt_lmem_write_cpu() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->uabi_engines.rb_node | 1-u64max |
| PARAM_VALUE | 1 | size | 8192-u32max |
| PARAM_VALUE | 2 | flags | 1 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | i915 | $0 |
drivers/gpu/drm/i915/intel_memory_region.c igt_lmem_write_gpu() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->drm.primary | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->drm.primary->dev->driver->fops->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | i915->runtime_pm.debug.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | i915 | $0 |
drivers/gpu/drm/i915/i915_dpt.c i915_dpt_create() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 1 |
| DATA_SOURCE | 0 | i915 | r to_i915 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c alloc_streaming_command() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->__info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/gpu/drm/i915/gt/intel_gsc.c gsc_ext_om_alloc() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 4194304 |
| PARAM_VALUE | 2 | flags | 5 |
| DATA_SOURCE | 1 | size | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gt/intel_tlb.c create_lmem() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->mm.regions | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 1 |
drivers/gpu/drm/i915/i915_bo.c i915_bo_fbdev_create() -> i915_gem_object_create_lmem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->__info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | flags | 9 |
| DATA_SOURCE | 0 | i915 | r to_i915 |
| DATA_SOURCE | 1 | size | $1 |
| BIT_INFO | 1 | size | 0x0,0x7ffff000 |
| 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 |