Defined in 7 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c, line 44 (as a function)
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c, line 44 (as a function)
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.c, line 42 (as a function)
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12.c, line 30 (as a function)
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c, line 30 (as a function)
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c, line 48 (as a function)
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c, line 42 (as a function)
Referenced in 7 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12.c acquire_queue() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 3 | queue | $2 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12.c init_interrupts_v12() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c acquire_queue() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | 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->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 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 3 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c kgd_init_interrupts() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c kgd_program_sh_mem_settings() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c program_trap_handler_settings() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0-s32max |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c acquire_queue() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | 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->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 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 3 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c kgd_init_interrupts() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c kgd_program_sh_mem_settings() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c set_scratch_backing_va() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &p->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.c acquire_queue() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | 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->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 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 3 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.c init_interrupts_v11() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.c program_sh_mem_settings_v11() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c acquire_queue() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | 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->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 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 3 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c kgd_init_interrupts() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c kgd_program_sh_mem_settings() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c set_scratch_backing_va() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &p->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c acquire_queue() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | 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->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 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 3 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c init_interrupts_v10_3() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c program_sh_mem_settings_v10_3() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c program_trap_handler_settings_v10_3() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 1 | mec | 0 |
| PARAM_VALUE | 2 | pipe | 0 |
| PARAM_VALUE | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0-s32max |
| CAPPED_DATA | 4 | vmid | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 4 | vmid | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c acquire_queue() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 3 | queue | $2 |
| DATA_SOURCE | 5 | inst | $3 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c init_interrupts_v12_1() -> lock_srbm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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 | 3 | queue | 0 |
| PARAM_VALUE | 4 | vmid | 0 |
| CAPPED_DATA | 2 | pipe | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 5 | inst | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |