Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

19f4aff6129bc862 gfx_v9_0_mec_init() -> amdgpu_gfx_compute_queue_acquire()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.gfx_current_status 0
PARAM_VALUE 0 adev->gfx.mec.num_pipe_per_mec 4
PARAM_VALUE 0 adev->gfx.mec.num_queue_per_pipe 8
PARAM_VALUE 0 adev->gfx.mec_bitmap 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.funcs 0,4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.funcs->init 4096-ptr_max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
BUF_SIZE 0 adev->gfx.cleaner_shader_ptr (-1),304
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gfx.bad_op_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.cp_ecc_error_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.eop_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_inst_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_reg_irq.num_types

drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_mec_init() -> amdgpu_gfx_compute_queue_acquire()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.bad_op_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.bad_op_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.eop_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.eop_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.gfx_current_status 0
PARAM_VALUE 0 adev->gfx.mec.num_mec 2
PARAM_VALUE 0 adev->gfx.mec.num_pipe_per_mec 4
PARAM_VALUE 0 adev->gfx.mec.num_queue_per_pipe 8
PARAM_VALUE 0 adev->gfx.priv_inst_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.priv_inst_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.priv_reg_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.priv_reg_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.rlc.funcs 4096-ptr_max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
BUF_SIZE 0 adev->gfx.cleaner_shader_ptr (-1),304
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gfx.bad_op_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.eop_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_inst_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_reg_irq.num_types

2424e8ec9bf51854 gfx_v12_0_mec_init() -> amdgpu_gfx_compute_queue_acquire()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec_bitmap 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.clear_state_obj 0
PARAM_VALUE 0 adev->gfx.rlc.cs_data->id 0-3
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section 0,4096-ptr_max
PARAM_VALUE 0 adev->mes.adev->gfx.rlc.cs_data->section->reg_index 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472
DATA_SOURCE 0 adev $0
MEM_ZERO 0 adev->gfx.me.queue_bitmap
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gfx.bad_op_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.eop_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_inst_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_reg_irq.num_types

28ad57647bf6154f gfx_v11_0_mec_init() -> amdgpu_gfx_compute_queue_acquire()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec_bitmap 4096-ptr_max
DATA_SOURCE 0 adev $0
NOCHECK_CALL

3d756af95eb3bd31 gfx_v12_1_mec_init() -> amdgpu_gfx_compute_queue_acquire()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.gfx_off_delay_work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.gfx_off_mutex.dep_map->name 0-255
PARAM_VALUE 0 adev->gfx.gfx_off_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->gfx.gfx_off_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adev->gfx.gfx_off_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->gfx.gfx_off_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->gfx.gfx_off_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->gfx.gfx_off_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->gfx.mec_bitmap 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.cs_data->id 0-3
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section 0,4096-ptr_max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 adev->pm.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 adev->powerplay.pp_handle->adev->mes.mutex_hidden.osq.tail.counter s32min-s32max
PARAM_VALUE 0 adev->powerplay.pp_handle->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->backend->dpm_flags 0-4294967295
PARAM_VALUE 0 adev->powerplay.pp_handle->backend->uvd_dpm.hard_min_clk 0-4294967295
PARAM_VALUE 0 adev->powerplay.pp_handle->backend->uvd_power_gated 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->backend->vce_dpm.hard_min_clk 0-4294967295
PARAM_VALUE 0 adev->powerplay.pp_handle->backend->vce_power_gated 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->backend->vcn_power_gated 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->device->adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 adev->powerplay.pp_handle->device->adev->mes.mutex_hidden.osq.tail.counter s32min-s32max
PARAM_VALUE 0 adev->powerplay.pp_handle->device->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 adev->powerplay.pp_handle->msg_ctl.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->powerplay.pp_handle->msg_ctl.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->powerplay.pp_handle->msg_ctl.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adev->powerplay.pp_handle->msg_ctl.smu->adev->no_hw_access 1
PARAM_VALUE 0 adev->powerplay.pp_handle->msg_ctl.smu->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->msg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->powerplay.pp_handle->msg_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adev->powerplay.pp_handle->pm.dpm.priv->uvd_boot_level 0-254
PARAM_VALUE 0 adev->powerplay.pp_handle->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->psp.ras_context.ras->eeprom_control.ras_info_offset 20
PARAM_VALUE 0 adev->psp.ras_context.ras->eeprom_control.ras_max_record_count 10911,10921
PARAM_VALUE 0 adev->psp.ras_context.ras->eeprom_control.ras_record_offset 20,276
PARAM_VALUE 0 adev->psp.ras_context.ras->umc_ecc.record_ce_addr_supported 1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->virt.rlcg_reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adev->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530
PARAM_VALUE 0 *adev->powerplay.pp_handle->msg_ctl->lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *adev->powerplay.pp_handle->msg_ctl->smu->adev->mman.aper_base_kaddr (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *adev->powerplay.pp_handle->msg_ctl->smu->adev->rmmio (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *adev->powerplay.pp_handle->msg_lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gfx.eop_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_inst_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_reg_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.rlc_poison_irq.num_types

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_mec_init() -> amdgpu_gfx_compute_queue_acquire()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 10-18
PARAM_VALUE 0 adev->gfx.ce_fw 0,4096-ptr_max
PARAM_VALUE 0 adev->gfx.cp_ecc_error_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.cp_ecc_error_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.eop_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.eop_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.gfx_current_status 0
PARAM_VALUE 0 adev->gfx.me_fw 0,4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec.num_mec 1-2
PARAM_VALUE 0 adev->gfx.mec.num_pipe_per_mec 4
PARAM_VALUE 0 adev->gfx.mec.num_queue_per_pipe 8
PARAM_VALUE 0 adev->gfx.mec2_fw 0,4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec_bitmap 4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec_fw 0,4096-ptr_max
PARAM_VALUE 0 adev->gfx.pfp_fw 0,4096-ptr_max
PARAM_VALUE 0 adev->gfx.priv_inst_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.priv_inst_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.priv_reg_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.priv_reg_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.rlc.funcs 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.register_list_format 0,16,4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.register_restore 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc_fw 0,4096-ptr_max
PARAM_VALUE 0 adev->gfx.sq_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.sq_irq.funcs 1-u64max
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->gfx.mec.num_mec 2
HARD_MAX 0 adev->gfx.mec.num_mec 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gfx.cp_ecc_error_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.eop_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_inst_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_reg_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.sq_irq.num_types

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_mec_init() -> amdgpu_gfx_compute_queue_acquire()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.gfx_current_status 0
PARAM_VALUE 0 adev->gfx.kiq 4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec_bitmap 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.funcs 0,4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.funcs->init 4096-ptr_max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
BUF_SIZE 0 adev->gfx.cleaner_shader_ptr (-1),240,248
DATA_SOURCE 0 adev $0
MEM_ZERO 0 adev->gfx.me.queue_bitmap
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gfx.bad_op_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.eop_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_inst_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_reg_irq.num_types

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_mec_init() -> amdgpu_gfx_compute_queue_acquire()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 5-9
PARAM_VALUE 0 adev->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 adev->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 adev->gfx.eop_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.eop_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.mec.num_mec 1-2
PARAM_VALUE 0 adev->gfx.mec.num_pipe_per_mec 4
PARAM_VALUE 0 adev->gfx.mec.num_queue_per_pipe 8
PARAM_VALUE 0 adev->gfx.mec_bitmap 4096-ptr_max
PARAM_VALUE 0 adev->gfx.priv_inst_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.priv_inst_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.priv_reg_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->gfx.priv_reg_irq.funcs 1-u64max
PARAM_VALUE 0 adev->gfx.rlc.funcs 4096-ptr_max
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->gfx.mec.num_mec 2
HARD_MAX 0 adev->gfx.mec.num_mec 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gfx.eop_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_inst_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gfx.priv_reg_irq.num_types