Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_activate() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->dqm->packet_mgr.pmf->map_process_size | 64,84 |
| PARAM_VALUE | 0 | pdd->dev->dqm->packet_mgr.pmf->map_queues_size | 28 |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | pdd->dev->kfd2kgd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->spi_dbg_override | 0,8 |
| PARAM_VALUE | 1 | sq_trap_en | 1 |
| LOCK2 | &target->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_clear_dev_address_watch() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | pdd->dev->kfd2kgd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->watch_points_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->watch_points | 4096-ptr_max |
| PARAM_VALUE | 1 | sq_trap_en | 1 |
| DATA_SOURCE | 0 | pdd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_deactivate() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->dqm->packet_mgr.pmf->map_process_size | 64,84 |
| PARAM_VALUE | 0 | pdd->dev->dqm->packet_mgr.pmf->map_queues_size | 28 |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | pdd->dev->kfd2kgd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->spi_dbg_override | 0,8 |
| CAPPED_DATA | 0 | pdd->dev->dqm->dev | 1 |
| CAPPED_DATA | 0 | pdd->spi_dbg_override | 1 |
| NOSPEC | 0 | pdd->spi_dbg_override | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | pdd->spi_dbg_override | 0,8[c] |
| HALF_LOCKED2 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_set_dev_address_watch() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | pdd->dev->watch_points_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->user_gpu_id | 1-u32max |
| PARAM_VALUE | 1 | sq_trap_en | 1 |
| CAPPED_DATA | 0 | pdd->user_gpu_id | 1 |
| DATA_SOURCE | 0 | pdd | $0 |
| LOCK2 | &target->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_set_flags() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 1 | sq_trap_en | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_set_flags() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 1 | sq_trap_en | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_set_wave_launch_mode() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | pdd->dev->kfd2kgd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->spi_dbg_launch_mode | 0,2,6 |
| PARAM_VALUE | 1 | sq_trap_en | 1 |
| CAPPED_DATA | 0 | pdd->spi_dbg_launch_mode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | pdd->spi_dbg_launch_mode | 0[c] |
| HALF_LOCKED2 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_set_wave_launch_override() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | pdd->dev->kfd2kgd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->spi_dbg_override | 0,8-65528 |
| PARAM_VALUE | 1 | sq_trap_en | 1 |
| CAPPED_DATA | 0 | pdd->spi_dbg_override | 1 |
| USER_DATA | 0 | pdd->spi_dbg_override | 8-65528[c] |
| LOCK2 | &target->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c runtime_disable() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | pdd->dev->kfd2kgd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->spi_dbg_override | 0,8 |
| CAPPED_DATA | 0 | pdd->spi_dbg_override | 1 |
| LOCK2 | &p->mutex | ||
| HALF_LOCKED2 | &p->runtime_enable_sema | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c runtime_enable() -> kfd_dbg_set_mes_debug_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | pdd->qpd.queue_count | 0 |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |