Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 2964
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c, line 5227
- drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c
- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c, line 357
- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
- drivers/gpu/drm/amd/pm/amdgpu_dpm.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c acp_hw_fini() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->acp.acp_genpd | 0 |
| PARAM_VALUE | 1 | block_type | 10 |
| PARAM_VALUE | 2 | gate | 0 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c acp_hw_init() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->mes.mutex_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->mes.mutex_hidden.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->mes.mutex_hidden.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->mes.saved_flags | 0-4294967295 |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->acp.cgs_device->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | block_type | 10 |
| PARAM_VALUE | 2 | gate | 1 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c acp_poweroff() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | block_type | 10 |
| PARAM_VALUE | 2 | gate | 1 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &genpd->mlock |
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c acp_poweron() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | block_type | 10 |
| PARAM_VALUE | 2 | gate | 0 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &genpd->mlock |
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c acp_resume() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->acp.acp_cell | 0 |
| PARAM_VALUE | 1 | block_type | 10 |
| PARAM_VALUE | 2 | gate | 1 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c acp_set_powergating_state() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | block_type | 10 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c acp_suspend() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->acp.acp_cell | 0 |
| PARAM_VALUE | 1 | block_type | 10 |
| PARAM_VALUE | 2 | gate | 0 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c sdma_v4_0_hw_fini() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags | 131072-u64max |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| 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 | block_type | 7 |
| PARAM_VALUE | 2 | gate | 1 |
| PARAM_VALUE | 3 | inst | 0 |
| CAPPED_DATA | 0 | adev->sdma.num_instances | 1 |
| BIT_INFO | 0 | adev->flags | 0x20000,0xffffffffffffffff |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xfffffffb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c sdma_v4_0_hw_init() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags | 131072-u64max |
| PARAM_VALUE | 1 | block_type | 7 |
| PARAM_VALUE | 2 | gate | 0 |
| PARAM_VALUE | 3 | inst | 0 |
| BIT_INFO | 0 | adev->flags | 0x20000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c isp_poweroff() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | block_type | 16 |
| PARAM_VALUE | 2 | gate | 1 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &genpd->mlock |
drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c isp_poweron() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | block_type | 16 |
| PARAM_VALUE | 2 | gate | 0 |
| PARAM_VALUE | 3 | inst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &genpd->mlock |
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c mmhub_v1_0_update_power_gating() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530 |
| 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 |
| PARAM_VALUE | 0 | adev->mmhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mmhub.funcs->gart_disable | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mmhub.funcs->update_power_gating | 2357521212362928128 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->type | 0-1 |
| 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 |
| PARAM_VALUE | 1 | block_type | 1 |
| PARAM_VALUE | 3 | inst | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 2 | gate | $1 |
| BIT_INFO | 0 | adev->pg_flags | 0x2000,0xffffffff |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xfffffffb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_do_off_ctrl() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_req_count | 0 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_state | 0 |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->id | 0-3 |
| 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->gfx.rlc.funcs->get_csb_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.funcs->init | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.funcs->update_spm_vmid | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->wreg32 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.gmc_funcs->emit_pasid_mapping | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->init_lvl->level | 0-2 |
| 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-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->pm.pp_feature | 32768-u32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_funcs->force_performance_level | 0,1618752174994710528,2478893391702433792,6733313188007206912,7358513358478786560 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->type | 0-1 |
| 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 | 1 | block_type | 6 |
| PARAM_VALUE | 2 | gate | 1 |
| PARAM_VALUE | 3 | inst | 0 |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev->gfx.cleaner_shader_ptr | (-1),240,248,304 |
| BUF_SIZE | 0 | adev->gfx.rlc.cs_data | (-1),32 |
| CAPPED_DATA | 0 | &adev->gfx.gfx_off_mutex | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->pm.pp_feature | 0x8000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.bad_op_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.cp_ecc_error_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_reg_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.rlc_poison_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.sq_irq.num_types | |
| UNITS | 0 | adev | unit_array_size |
| LOCK2 | 0 | &adev->gfx.gfx_off_mutex | |
| HALF_LOCKED2 | 0 | &adev->pm.stable_pstate_ctx_lock | |
| HALF_LOCKED2 | 0 | &adev->reset_domain->sem | |
| TYPE_LOCK | (struct amdgpu_gfx)->gfx_off_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_do_off_ctrl() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_delay_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_req_count | 0 |
| PARAM_VALUE | 0 | adev->gfx.gfx_off_state | 1 |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->id | 0-3 |
| 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->gfx.rlc.funcs->get_csb_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.funcs->init | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.funcs->update_spm_vmid | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->wreg32 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.gmc_funcs->emit_pasid_mapping | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->init_lvl->level | 0-2 |
| 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-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->pm.pp_feature | 32768-u32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_funcs->force_performance_level | 0,1618752174994710528,2478893391702433792,6733313188007206912,7358513358478786560 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->type | 0-1 |
| 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 | 1 | block_type | 6 |
| PARAM_VALUE | 2 | gate | 0 |
| PARAM_VALUE | 3 | inst | 0 |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev->gfx.cleaner_shader_ptr | (-1),240,248,304 |
| BUF_SIZE | 0 | adev->gfx.rlc.cs_data | (-1),32 |
| CAPPED_DATA | 0 | &adev->gfx.gfx_off_mutex | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->pm.pp_feature | 0x8000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.bad_op_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.cp_ecc_error_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_reg_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.rlc_poison_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.sq_irq.num_types | |
| UNITS | 0 | adev | unit_array_size |
| LOCK2 | 0 | &adev->gfx.gfx_off_mutex | |
| HALF_LOCKED2 | 0 | &adev->pm.stable_pstate_ctx_lock | |
| HALF_LOCKED2 | 0 | &adev->reset_domain->sem | |
| TYPE_LOCK | (struct amdgpu_gfx)->gfx_off_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_enable_gfx_static_mg_power_gating() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_type | 16-18 |
| 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 | block_type | 6 |
| PARAM_VALUE | 3 | inst | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 2 | gate | $1 |
| BIT_INFO | 0 | adev->asic_type | 0x10,0x13 |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xfffffffb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_delay_enable_gfx_off() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | block_type | 6 |
| PARAM_VALUE | 2 | gate | 1 |
| PARAM_VALUE | 3 | inst | 0 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_enable_jpeg() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->wreg32 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->pm.dpm_enabled | 1 |
| 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 | block_type | 13 |
| PARAM_VALUE | 3 | inst | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_enable_uvd() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->family | 0-109,111-u32max |
| PARAM_VALUE | 0 | adev->pm.dpm_enabled | 1 |
| 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 | block_type | 8 |
| PARAM_VALUE | 3 | inst | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_enable_vce() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->family | 0-109,111-u32max |
| PARAM_VALUE | 0 | adev->pm.dpm_enabled | 1 |
| PARAM_VALUE | 1 | block_type | 9 |
| PARAM_VALUE | 3 | inst | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | *adev->vce.saved_bo | 0-255 |
| HALF_LOCKED2 | 0 | &adev->vce.idle_mutex |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_enable_vcn() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pm.dpm_enabled | 1 |
| 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 | block_type | 11 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 3 | inst | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_enable_vpe() -> amdgpu_dpm_set_powergating_by_smu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | block_type | 14 |
| PARAM_VALUE | 3 | inst | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |