Defined in 2 files as a function:
- drivers/gpu/drm/i915/gt/intel_mocs.c, line 615 (as a function)
- drivers/gpu/drm/xe/xe_mocs.c, line 742 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/i915/gt/intel_mocs.c intel_mocs_init() -> init_l3cc_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915->__info | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | gt->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->mcr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->reset.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->reset.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->reset.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gt->reset.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | gt->reset.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gt->uc.guc.capture->max_mmio_per_node | s32min-s32max |
| PARAM_VALUE | 0 | gt->uc.guc.capture->reglists | 0-s64max |
| PARAM_VALUE | 0 | gt->uc.guc.context_lookup.xa_head | 0 |
| PARAM_VALUE | 0 | gt->uc.guc.fw.__status | (-1),1-10 |
| PARAM_VALUE | 0 | gt->uc.guc.fw.status | (-1),1-10 |
| PARAM_VALUE | 0 | gt->uc.guc.mmio_msg | 0 |
| PARAM_VALUE | 0 | gt->uc.guc.sched_engine->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->uc.huc.fw.__status | (-1),1-10 |
| PARAM_VALUE | 0 | gt->uc.huc.fw.status | (-1),1-10 |
| PARAM_VALUE | 0 | gt->uc.huc.heci_pkt->obj->base.dev->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | gt->uc.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.ops->fini | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.ops->fini_fw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.ops->fini_hw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.ops->init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.ops->init_fw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.ops->init_hw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.reset_in_progress | 1 |
| PARAM_VALUE | 0 | gt->uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uncore->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->wa_list.gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->wa_list.gt->mcr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->wa_list.gt->uncore->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | table | 6918666756182532096 |
| PARAM_VALUE | 1 | table->n_entries | 0,16,64 |
| PARAM_VALUE | 1 | table->size | 0,3-4,16,64 |
| PARAM_VALUE | 1 | table->table | 0,4096-ptr_max |
| PARAM_VALUE | 1 | table->uc_index | 0-1,3,9 |
| PARAM_VALUE | 1 | table->unused_entries_index | 1-3,5 |
| PARAM_VALUE | 1 | table->wb_index | 0 |
| BUF_SIZE | 0 | gt | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gt | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gt->vm | (-1),1208 |
| CAPPED_DATA | 0 | gt->wa_list.count | 1 |
| DATA_SOURCE | 0 | gt | $0 |
| STR_LEN | 0 | gt | (-1),4,6,8,14,16,18,21,23,26,34,36 |
| STR_LEN | 0 | gt | (-1),4,6,8,14,16,18,21,23,26,34,36 |
| MEM_ZERO | 1 | table | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->i915->uncore.fifo_count | 0-127,u32max |
| HOST_DATA | 0 | gt->rc6.bios_rc_state | 0-u32max |
| HOST_DATA | 0 | gt->rps.boost_freq | 0-255 |
| HOST_DATA | 0 | gt->rps.cur_freq | 0-255 |
| HOST_DATA | 0 | gt->rps.efficient_freq | 0-255 |
| HOST_DATA | 0 | gt->rps.idle_freq | 0-255 |
| HOST_DATA | 0 | gt->rps.ips.corr | 0-255 |
| HOST_DATA | 0 | gt->rps.ips.last_count1 | 0-12884901885 |
| HOST_DATA | 0 | gt->rps.ips.last_count2 | 0-u32max |
| HOST_DATA | 0 | gt->rps.max_freq | 0-255 |
| HOST_DATA | 0 | gt->rps.max_freq_softlimit | 0-255 |
| HOST_DATA | 0 | gt->rps.min_freq | 0-255 |
| HOST_DATA | 0 | gt->rps.min_freq_softlimit | 0-255 |
| HOST_DATA | 0 | gt->rps.rp0_freq | 0-255 |
| HOST_DATA | 0 | gt->rps.rp1_freq | 0-255 |
| HOST_DATA | 0 | gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
| NO_OVERFLOW_SIMPLE | 0 | gt->rps.last_freq | |
| NO_OVERFLOW_SIMPLE | 0 | gt->uc.gsc.local->fence_size | |
| NO_OVERFLOW_SIMPLE | 0 | gt->uc.gsc.local->size | |
| NO_OVERFLOW_SIMPLE | 0 | gt->uc.gsc.proxy.vma->fence_size | |
| NO_OVERFLOW_SIMPLE | 0 | gt->uc.gsc.proxy.vma->size | |
| NO_OVERFLOW_SIMPLE | 0 | gt->uc.gsc.wq->rescuer->task->dl.pi_se->dl_runtime | |
| LOCK2 | __flags | ||
| HALF_LOCKED2 | 0 | >->reset.mutex |
drivers/gpu/drm/i915/gt/intel_mocs.c intel_mocs_init_engine() -> init_l3cc_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt->i915->bdev.wq->flags | 0-4294967295 |
| PARAM_VALUE | 0 | gt->i915->bdev.wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | gt->i915->bdev.wq->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | gt->i915->bdev.wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | gt->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | table | 5397007645488283648 |
| PARAM_VALUE | 1 | table->n_entries | 16,64 |
| PARAM_VALUE | 1 | table->size | 3-4,16,64 |
| PARAM_VALUE | 1 | table->table | 1671937699174834176,2389482554223099904,2827651187609784320,3059557739268534272,5837598607249883136,6059277438382395392,8412308991516811264,9021207805951651840 |
| PARAM_VALUE | 1 | table->uc_index | 0-1,3,9 |
| PARAM_VALUE | 1 | table->unused_entries_index | 1-3,5 |
| PARAM_VALUE | 1 | table->wb_index | 0 |
| MEM_ZERO | 1 | table | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->i915->uncore.fifo_count | 0-127,u32max |
| HOST_DATA | 0 | gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
| HALF_LOCKED2 | >->reset.mutex | ||
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/xe/xe_mocs.c xe_mocs_init() -> init_l3cc_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->freq->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gt->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->tlb_inval.ops->all | 1394033232223719424 |
| PARAM_VALUE | 0 | gt->tlb_inval.ops->flush | 7961044966203564032 |
| PARAM_VALUE | 0 | gt->tlb_inval.ops->ggtt | 3062676926236585984 |
| PARAM_VALUE | 0 | gt->tlb_inval.ops->initialized | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->tlb_inval.ops->ppgtt | 8222087883415863296,8362975553035788288 |
| PARAM_VALUE | 0 | gt->tlb_inval.ops->timeout_delay | 6926420251685105664 |
| PARAM_VALUE | 0 | gt->uc.guc.capture->reglists | 0-s64max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.g2h.cmds.vaddr | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.g2h.cmds.vaddr_iomem | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.g2h.desc.vaddr | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.g2h.desc.vaddr_iomem | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.g2h.info.resv_space | 16384 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.g2h.info.size | 32768 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.g2h.info.tail | 0 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.h2g.cmds.vaddr | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.h2g.cmds.vaddr_iomem | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.h2g.info.resv_space | 0 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.ctbs.h2g.info.size | 1024 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.fence_lookup.xa_head | 0 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gt->uc.guc.ct.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.state | 3 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.huc.fw.__status | (-1),1-2,5,7-11 |
| PARAM_VALUE | 0 | gt->uc.huc.fw.status | (-1),1-2,5,7-11 |
| PARAM_VALUE | 0 | gt->uc.wopcm.guc.base | 0,16384-16740351 |
| PARAM_VALUE | 0 | gt->uc.wopcm.guc.size | 0,4096-16740352 |
| PARAM_VALUE | 0 | gt->uc.wopcm.size | 2097152,4194304,8388608,16777216 |
| PARAM_VALUE | 1 | table | 6211536664604934144 |
| PARAM_VALUE | 1 | table->num_mocs_regs | 0,3,16,63-64 |
| PARAM_VALUE | 1 | table->ops | 0,1082634254989787136,3301265083661537280,3354459976771522560,4173531983277469696,6630245444985249792 |
| PARAM_VALUE | 1 | table->table | 0,4096-ptr_max |
| PARAM_VALUE | 1 | table->table_size | 0,3-5,16,64 |
| PARAM_VALUE | 1 | table->uc_index | 0-1,3,9 |
| PARAM_VALUE | 1 | table->unused_entries_index | 0-5 |
| PARAM_VALUE | 1 | table->wb_index | 0,2,4 |
| CAPPED_DATA | 0 | gt | 1 |
| DATA_SOURCE | 0 | gt | $0 |
| MEM_ZERO | 1 | table | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->info.gmdid | 0-u32max |
| HOST_DATA | 0 | gt->info.reference_clock | 0-38400000[c] |
| HOST_DATA | 0 | gt->uc.guc->ct.msg | 0-255 |
| HOST_DATA | 0 | gt->uc.guc.ct->msg | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | gt->uc.guc.relay.pool.min_nr |