Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c, line 413
- drivers/gpu/drm/amd/amdgpu/soc_v1_0.c, line 724
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c aqua_vanjaram_switch_partition_mode() -> amdgpu_xcp_post_partition_switch()
| 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->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.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->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 |
| PARAM_VALUE | 1 | flags | 0-1 |
| DATA_SOURCE | 0 | xcp_mgr | $0 |
| FUZZY_MAX | 1 | flags | 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/soc_v1_0.c soc_v1_0_switch_partition_mode() -> amdgpu_xcp_post_partition_switch()
| 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.imu.funcs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xcp_mgr->adev->gfx.imu.funcs->switch_compute_partition | 0,4685992232287051776 |
| 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.num_mem_partitions | 0-16 |
| 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.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->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 |
| PARAM_VALUE | 1 | flags | 0-1 |
| CAPPED_DATA | 0 | xcp_mgr->adev->gmc.num_mem_partitions | 1 |
| DATA_SOURCE | 0 | xcp_mgr | $0 |
| FUZZY_MAX | 1 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &xcp_mgr->xcp_lock | |
| TYPE_LOCK | (struct amdgpu_xcp_mgr)->xcp_lock |