Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c __aqua_vanjaram_update_available_partition_mode() -> __aqua_vanjaram_is_valid_mode()

Type Parameter Key Value
PARAM_VALUE 0 xcp_mgr 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->adev 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->adev->gfx.funcs 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->adev->gfx.funcs->switch_partition_mode 0,7464920116160364544
PARAM_VALUE 0 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
PARAM_VALUE 0 xcp_mgr->adev->gmc.gmc_funcs 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->adev->gmc.gmc_funcs->query_mem_partition_mode 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.doorbell_size 4,8
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.event_interrupt_class 1322007731740446720,4401824541409058816,4802939603217784832,5383496246323757056,6243627909473648640,7818850292863868928
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.event_interrupt_class->interrupt_isr 3371327953559019520,4875826558969356288,4994161814691131392,5834466829867458560,6085368780094799872,8545181753383178240
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.event_interrupt_class->interrupt_wq 2743618561933017088,3166684404715036672,3216513776681185280,8213208253327966208,8661629418556481536
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.gfx_target_version 70000-70001,80001-80003,90000,90002,90004,90006,90008,90010,90012,90402,90500,100100-100103,100300-100306,110000-110003,110500-110504,110700-110701,120000-120001,120500
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.ih_ring_entry_size 16,32
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.max_no_of_hqd 24
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.max_pasid_bits 16
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.mqd_size_aligned 768
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.needs_pci_atomics 1
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.no_atomic_fw_version 0,3,14,92,145,509,2090
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.num_of_watch_points 4
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.num_reserved_sdma_queues_per_engine 0,2
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.num_sdma_queues_per_engine 2,8
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->device_info.supports_cwsr 1
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->doorbell_ida.xa.xa_flags 33554437
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->doorbell_mutex.dep_map->name 0-255
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->num_nodes 1-255
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->profiler_lock.dep_map->name 0-255
PARAM_VALUE 0 xcp_mgr->adev->kfd.dev->shared_resources.gpuvm_size 0,4096-72057594037927936
PARAM_VALUE 0 xcp_mgr->adev->mode_info.atom_context->io_mode s32min-s32max
PARAM_VALUE 0 xcp_mgr->adev->reset_domain 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 xcp_mgr->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 xcp_mgr->funcs 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->funcs->switch_partition_mode 3403075751467401216,8934298401349943296
PARAM_VALUE 0 xcp_mgr->mode (-2),0-4
PARAM_VALUE 0 xcp_mgr->xcp_lock.dep_map->name 0-255
PARAM_VALUE 0 xcp_mgr->xcp_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 xcp_mgr->xcp_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xcp_mgr->xcp_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 xcp_mgr->xcp_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 xcp_mgr->xcp_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 xcp_mgr->xcp_lock.wait_lock.owner (-1)
PARAM_VALUE 0 xcp_mgr->xcp_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 *xcp_mgr->adev->kfd.dev->ih_wq->first_flusher->done.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *xcp_mgr->adev->kfd.dev->ih_wq->lockdep_map->name 0-255
PARAM_VALUE 0 *xcp_mgr->adev->kfd.dev->ih_wq->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *xcp_mgr->adev->kfd.dev->ih_wq->rescuer->task->pi_lock.owner (-4611686018427387904)-4611686018427387903
DATA_SOURCE 0 xcp_mgr $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &xcp_mgr->xcp_lock
TYPE_LOCK (struct amdgpu_xcp_mgr)->xcp_lock

drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c aqua_vanjaram_switch_partition_mode() -> __aqua_vanjaram_is_valid_mode()

Type Parameter Key Value
PARAM_VALUE 0 xcp_mgr 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->adev 4096-ptr_max
PARAM_VALUE 0 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
PARAM_VALUE 0 xcp_mgr->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 xcp_mgr->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 xcp_mgr->funcs 4096-ptr_max
PARAM_VALUE 0 xcp_mgr->funcs->switch_partition_mode 3403075751467401216,8934298401349943296
PARAM_VALUE 0 xcp_mgr->mode (-2)
PARAM_VALUE 0 xcp_mgr->xcp_lock.dep_map->name 0-255
PARAM_VALUE 0 xcp_mgr->xcp_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 xcp_mgr->xcp_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xcp_mgr->xcp_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 xcp_mgr->xcp_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 xcp_mgr->xcp_lock.wait_lock.owner (-1)
PARAM_VALUE 0 xcp_mgr->xcp_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 mode s32min-(-3),0-s32max
DATA_SOURCE 0 xcp_mgr $0
DATA_SOURCE 1 mode $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &xcp_mgr->xcp_lock
TYPE_LOCK (struct amdgpu_xcp_mgr)->xcp_lock