Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_compute_queue_init() -> gfx_v7_0_mqd_commit()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 5-9
PARAM_VALUE 0 adev->gfx.ce_fw 4096-ptr_max
PARAM_VALUE 0 adev->gfx.compute_ring 4096-ptr_max
PARAM_VALUE 0 adev->gfx.config.double_offchip_lds_buf 1
PARAM_VALUE 0 adev->gfx.config.macrotile_mode_array 4096-ptr_max
PARAM_VALUE 0 adev->gfx.config.max_shader_engines 0-s32max
PARAM_VALUE 0 adev->gfx.config.mem_row_size_in_kb 1-2,4
PARAM_VALUE 0 adev->gfx.config.num_rbs 0-32
PARAM_VALUE 0 adev->gfx.config.tile_mode_array 4096-ptr_max
PARAM_VALUE 0 adev->gfx.cu_info.lds_size 64
PARAM_VALUE 0 adev->gfx.cu_info.max_scratch_slots_per_cu 32
PARAM_VALUE 0 adev->gfx.cu_info.max_waves_per_simd 10
PARAM_VALUE 0 adev->gfx.cu_info.simd_per_cu 4
PARAM_VALUE 0 adev->gfx.cu_info.wave_front_size 64
PARAM_VALUE 0 adev->gfx.me_fw 4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec.num_mec 0-s32max
PARAM_VALUE 0 adev->gfx.mec_fw 4096-ptr_max
PARAM_VALUE 0 adev->gfx.num_compute_rings 1-u32max
PARAM_VALUE 0 adev->gfx.pfp_fw 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.cs_data->id 0-3
PARAM_VALUE 0 adev->gfx.rlc.funcs 4096-ptr_max
PARAM_VALUE 0 adev->grbm_idx_mutex.dep_map->name 0-255
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->in_suspend 0
PARAM_VALUE 0 adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 adev->mes.mutex_hidden.dep_map->name 0-255
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
PARAM_VALUE 0 adev->reset_domain->sem.dep_map->name 0-255
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->srbm_mutex.dep_map->name 0-255
PARAM_VALUE 0 adev->srbm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->srbm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adev->srbm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->srbm_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 adev->srbm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 *adev->gfx.config.macrotile_mode_array 0
PARAM_VALUE 0 *adev->gfx.config.tile_mode_array 0
PARAM_VALUE 1 mqd 4096-ptr_max
PARAM_VALUE 1 mqd->compute_dim_x 0
PARAM_VALUE 1 mqd->compute_dim_y 0
PARAM_VALUE 1 mqd->compute_dim_z 0
PARAM_VALUE 1 mqd->compute_dispatch_initiator 0
PARAM_VALUE 1 mqd->compute_misc_reserved 0
PARAM_VALUE 1 mqd->compute_num_thread_x 0
PARAM_VALUE 1 mqd->compute_num_thread_y 0
PARAM_VALUE 1 mqd->compute_num_thread_z 0
PARAM_VALUE 1 mqd->compute_perfcount_enable 0
PARAM_VALUE 1 mqd->compute_pgm_hi 0
PARAM_VALUE 1 mqd->compute_pgm_lo 0
PARAM_VALUE 1 mqd->compute_pgm_rsrc1 0
PARAM_VALUE 1 mqd->compute_pgm_rsrc2 0
PARAM_VALUE 1 mqd->compute_pipelinestat_enable 0
PARAM_VALUE 1 mqd->compute_resource_limits 0
PARAM_VALUE 1 mqd->compute_restart_x 0
PARAM_VALUE 1 mqd->compute_restart_y 0
PARAM_VALUE 1 mqd->compute_restart_z 0
PARAM_VALUE 1 mqd->compute_start_x 0
PARAM_VALUE 1 mqd->compute_start_y 0
PARAM_VALUE 1 mqd->compute_start_z 0
PARAM_VALUE 1 mqd->compute_static_thread_mgmt_se0 u32max
PARAM_VALUE 1 mqd->compute_static_thread_mgmt_se1 u32max
PARAM_VALUE 1 mqd->compute_static_thread_mgmt_se2 u32max
PARAM_VALUE 1 mqd->compute_static_thread_mgmt_se3 u32max
PARAM_VALUE 1 mqd->compute_tba_hi 0
PARAM_VALUE 1 mqd->compute_tba_lo 0
PARAM_VALUE 1 mqd->compute_thread_trace_enable 0
PARAM_VALUE 1 mqd->compute_tma_hi 0
PARAM_VALUE 1 mqd->compute_tma_lo 0
PARAM_VALUE 1 mqd->compute_tmpring_size 0
PARAM_VALUE 1 mqd->compute_user_data_0 0
PARAM_VALUE 1 mqd->compute_user_data_1 0
PARAM_VALUE 1 mqd->compute_user_data_10 0
PARAM_VALUE 1 mqd->compute_user_data_11 0
PARAM_VALUE 1 mqd->compute_user_data_12 0
PARAM_VALUE 1 mqd->compute_user_data_13 0
PARAM_VALUE 1 mqd->compute_user_data_14 0
PARAM_VALUE 1 mqd->compute_user_data_15 0
PARAM_VALUE 1 mqd->compute_user_data_2 0
PARAM_VALUE 1 mqd->compute_user_data_3 0
PARAM_VALUE 1 mqd->compute_user_data_4 0
PARAM_VALUE 1 mqd->compute_user_data_5 0
PARAM_VALUE 1 mqd->compute_user_data_6 0
PARAM_VALUE 1 mqd->compute_user_data_7 0
PARAM_VALUE 1 mqd->compute_user_data_8 0
PARAM_VALUE 1 mqd->compute_user_data_9 0
PARAM_VALUE 1 mqd->compute_vmid 0
PARAM_VALUE 1 mqd->cp_compute_csinvoc_count_hi 0
PARAM_VALUE 1 mqd->cp_compute_csinvoc_count_lo 0
PARAM_VALUE 1 mqd->cp_hqd_active 1
PARAM_VALUE 1 mqd->cp_hqd_dequeue_request 0
PARAM_VALUE 1 mqd->cp_hqd_dma_offload 0
PARAM_VALUE 1 mqd->cp_hqd_hq_control0 0
PARAM_VALUE 1 mqd->cp_hqd_hq_status0 0
PARAM_VALUE 1 mqd->cp_hqd_iq_timer 0
PARAM_VALUE 1 mqd->cp_hqd_pq_base_hi 0-16777215
PARAM_VALUE 1 mqd->cp_hqd_pq_control 0,1073741824-u32max
PARAM_VALUE 1 mqd->cp_hqd_pq_doorbell_control 0,1073741824-1879048191
PARAM_VALUE 1 mqd->cp_hqd_pq_rptr_report_addr_hi 0-u16max
PARAM_VALUE 1 mqd->cp_hqd_pq_rptr_report_addr_lo 0,4-4294967292
PARAM_VALUE 1 mqd->cp_hqd_pq_wptr 0
PARAM_VALUE 1 mqd->cp_hqd_pq_wptr_poll_addr_hi 0-u16max
PARAM_VALUE 1 mqd->cp_hqd_pq_wptr_poll_addr_lo 0,4-4294967292
PARAM_VALUE 1 mqd->cp_hqd_quantum 0,512-u32max
PARAM_VALUE 1 mqd->cp_hqd_vmid 0
PARAM_VALUE 1 mqd->cp_mqd_base_addr_lo 0,4-4294967292
PARAM_VALUE 1 mqd->cp_mqd_connect_end_ib_rptr 0
PARAM_VALUE 1 mqd->cp_mqd_connect_end_pq_rptr 0
PARAM_VALUE 1 mqd->cp_mqd_connect_end_pq_wptr 0
PARAM_VALUE 1 mqd->cp_mqd_connect_end_time_hi 0
PARAM_VALUE 1 mqd->cp_mqd_connect_end_time_lo 0
PARAM_VALUE 1 mqd->cp_mqd_connect_end_wf_count 0
PARAM_VALUE 1 mqd->cp_mqd_connect_start_time_hi 0
PARAM_VALUE 1 mqd->cp_mqd_connect_start_time_lo 0
PARAM_VALUE 1 mqd->cp_mqd_control 0,16-u32max
PARAM_VALUE 1 mqd->cp_mqd_query_time_hi 0
PARAM_VALUE 1 mqd->cp_mqd_query_time_lo 0
PARAM_VALUE 1 mqd->header 3224438784
PARAM_VALUE 1 mqd->iqtimer_pkt_dw0 0
PARAM_VALUE 1 mqd->iqtimer_pkt_dw1 0
PARAM_VALUE 1 mqd->iqtimer_pkt_dw2 0
PARAM_VALUE 1 mqd->iqtimer_pkt_dw3 0
PARAM_VALUE 1 mqd->iqtimer_pkt_dw4 0
PARAM_VALUE 1 mqd->iqtimer_pkt_dw5 0
PARAM_VALUE 1 mqd->iqtimer_pkt_dw6 0
PARAM_VALUE 1 mqd->iqtimer_pkt_header 0
PARAM_VALUE 1 mqd->queue_doorbell_id0 0
PARAM_VALUE 1 mqd->queue_doorbell_id1 0
PARAM_VALUE 1 mqd->queue_doorbell_id10 0
PARAM_VALUE 1 mqd->queue_doorbell_id11 0
PARAM_VALUE 1 mqd->queue_doorbell_id12 0
PARAM_VALUE 1 mqd->queue_doorbell_id13 0
PARAM_VALUE 1 mqd->queue_doorbell_id14 0
PARAM_VALUE 1 mqd->queue_doorbell_id15 0
PARAM_VALUE 1 mqd->queue_doorbell_id2 0
PARAM_VALUE 1 mqd->queue_doorbell_id3 0
PARAM_VALUE 1 mqd->queue_doorbell_id4 0
PARAM_VALUE 1 mqd->queue_doorbell_id5 0
PARAM_VALUE 1 mqd->queue_doorbell_id6 0
PARAM_VALUE 1 mqd->queue_doorbell_id7 0
PARAM_VALUE 1 mqd->queue_doorbell_id8 0
PARAM_VALUE 1 mqd->queue_doorbell_id9 0
PARAM_VALUE 1 mqd->reserved_108 0
PARAM_VALUE 1 mqd->reserved_109 0
PARAM_VALUE 1 mqd->reserved_110 0
PARAM_VALUE 1 mqd->reserved_111 0
PARAM_VALUE 1 mqd->reserved_96 0
PARAM_VALUE 1 mqd->reserved_97 0
PARAM_VALUE 1 mqd->reserved_98 0
PARAM_VALUE 1 mqd->reserved_99 0
CAPPED_DATA 0 adev->gfx.config.max_shader_engines 1
CAPPED_DATA 0 adev->gfx.mec.num_mec 1
CAPPED_DATA 0 &adev->srbm_mutex 1
DATA_SOURCE 0 adev $0
MEM_ZERO 0 &adev->gfx.cu_info
MEM_ZERO 1 mqd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 mqd->cp_hqd_atomic0_preop_hi 0-u32max
HOST_DATA 1 mqd->cp_hqd_atomic0_preop_lo 0-u32max
HOST_DATA 1 mqd->cp_hqd_atomic1_preop_hi 0-u32max
HOST_DATA 1 mqd->cp_hqd_atomic1_preop_lo 0-u32max
HOST_DATA 1 mqd->cp_hqd_ib_base_addr_hi 0-u32max
HOST_DATA 1 mqd->cp_hqd_ib_base_addr_lo 0-u32max
HOST_DATA 1 mqd->cp_hqd_ib_control 0-u32max
HOST_DATA 1 mqd->cp_hqd_ib_rptr 0-u32max
HOST_DATA 1 mqd->cp_hqd_iq_rptr 0-u32max
HOST_DATA 1 mqd->cp_hqd_msg_type 0-u32max
HOST_DATA 1 mqd->cp_hqd_persistent_state 0-u32max
HOST_DATA 1 mqd->cp_hqd_pipe_priority 0-u32max
HOST_DATA 1 mqd->cp_hqd_pq_control 0,1073741824-u32max[c]
HOST_DATA 1 mqd->cp_hqd_pq_doorbell_control 1073741824-1879048191[c]
HOST_DATA 1 mqd->cp_hqd_pq_rptr 0-u32max
HOST_DATA 1 mqd->cp_hqd_queue_priority 0-u32max
HOST_DATA 1 mqd->cp_hqd_sema_cmd 0-u32max
HOST_DATA 1 mqd->cp_mqd_control 0,16-u32max[c]
LOCK2 0 &adev->srbm_mutex
TYPE_LOCK (struct amdgpu_device)->srbm_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_compute_queue_init() -> gfx_v7_0_mqd_commit()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 5-9
PARAM_VALUE 0 adev->gfx.ce_fw 4096-ptr_max
PARAM_VALUE 0 adev->gfx.compute_ring 4096-ptr_max
PARAM_VALUE 0 adev->gfx.config.double_offchip_lds_buf 1
PARAM_VALUE 0 adev->gfx.config.macrotile_mode_array 4096-ptr_max
PARAM_VALUE 0 adev->gfx.config.max_shader_engines 0-s32max
PARAM_VALUE 0 adev->gfx.config.mem_row_size_in_kb 1-2,4
PARAM_VALUE 0 adev->gfx.config.num_rbs 0-32
PARAM_VALUE 0 adev->gfx.config.tile_mode_array 4096-ptr_max
PARAM_VALUE 0 adev->gfx.cu_info.lds_size 64
PARAM_VALUE 0 adev->gfx.cu_info.max_scratch_slots_per_cu 32
PARAM_VALUE 0 adev->gfx.cu_info.max_waves_per_simd 10
PARAM_VALUE 0 adev->gfx.cu_info.simd_per_cu 4
PARAM_VALUE 0 adev->gfx.cu_info.wave_front_size 64
PARAM_VALUE 0 adev->gfx.me_fw 4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec.mqd_backup 4096-ptr_max
PARAM_VALUE 0 adev->gfx.mec.num_mec 0-s32max
PARAM_VALUE 0 adev->gfx.mec_fw 4096-ptr_max
PARAM_VALUE 0 adev->gfx.num_compute_rings 1-u32max
PARAM_VALUE 0 adev->gfx.pfp_fw 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.cs_data->id 0-3
PARAM_VALUE 0 adev->gfx.rlc.funcs 4096-ptr_max
PARAM_VALUE 0 adev->grbm_idx_mutex.dep_map->name 0-255
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->grbm_idx_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 adev->mes.mutex_hidden.dep_map->name 0-255
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
PARAM_VALUE 0 adev->reset_domain->sem.dep_map->name 0-255
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->srbm_mutex.dep_map->name 0-255
PARAM_VALUE 0 adev->srbm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->srbm_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->srbm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adev->srbm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->srbm_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 adev->srbm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 *adev->gfx.config.macrotile_mode_array 0
PARAM_VALUE 0 *adev->gfx.config.tile_mode_array 0
CAPPED_DATA 0 adev->gfx.config.max_shader_engines 1
CAPPED_DATA 0 adev->gfx.mec.num_mec 1
CAPPED_DATA 0 &adev->srbm_mutex 1
DATA_SOURCE 0 adev $0
MEM_ZERO 0 &adev->gfx.cu_info
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &adev->srbm_mutex
TYPE_LOCK (struct amdgpu_device)->srbm_mutex