Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_hw_fini() -> sdma_v4_4_2_inst_ctx_switch_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 0 |
| CAPPED_DATA | 2 | inst_mask | 1 |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xfffffffb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_inst_start() -> sdma_v4_4_2_inst_ctx_switch_enable()
| 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 | enable | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 2 | inst_mask | $1 |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdma_instance->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_inst_start() -> sdma_v4_4_2_inst_ctx_switch_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mes.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,41694,41717,62460,65472 |
| PARAM_VALUE | 0 | adev->mode_info.atom_context->io_mode | s32min-s32max |
| 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->sdma.instance | 4096-ptr_max |
| 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,41694,41717,62460,65472 |
| PARAM_VALUE | 1 | enable | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 2 | inst_mask | $1 |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xfffffffb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdma_instance->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_inst_start() -> sdma_v4_4_2_inst_ctx_switch_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mes.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,41694,41717,62460,65472 |
| PARAM_VALUE | 0 | adev->mode_info.atom_context->io_mode | s32min-s32max |
| 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->sdma.instance | 4096-ptr_max |
| 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,41694,41717,62460,65472 |
| PARAM_VALUE | 1 | enable | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 2 | inst_mask | $1 |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdma_instance->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_xcp_suspend() -> sdma_v4_4_2_inst_ctx_switch_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | enable | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 2 | inst_mask | $1 |
| NOCHECK_CALL |