Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_dmub_test.c, line 986
- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
- drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c, line 1409
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_dmub.c abort_fused_io() -> dm_execute_dmub_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub->hw_init | 1 |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub->power_state | 1 |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub->reg_inbox0.is_pending | 0 |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub->user_ctx->dm.dc->ctx->cgs_device->adev->mes.saved_flags | 0-4294967295 |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub->user_ctx->dm.dc->ctx->dc->caps.ips_support | 0 |
| PARAM_VALUE | 1 | cmd | 7293788748827045888 |
| PARAM_VALUE | 1 | cmd->dp_aux_access.aux_control.dpaux.length | 0 |
| PARAM_VALUE | 1 | cmd->fused_io.header.payload_bytes | 60 |
| PARAM_VALUE | 1 | cmd->fused_io.header.sub_type | 1 |
| PARAM_VALUE | 1 | cmd->fused_io.header.type | 89 |
| PARAM_VALUE | 1 | cmd->fused_io.request.status | 131 |
| PARAM_VALUE | 1 | cmd->ips_residency_cntl.cntl_data.start_measurement | 0 |
| PARAM_VALUE | 2 | wait_type | 0 |
| BUF_SIZE | 0 | ctx | (-1),200 |
| BUF_SIZE | 0 | ctx | (-1),200 |
| DATA_SOURCE | 0 | ctx | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &dm->dpia_aux_lock | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dpia_aux_lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_dmub_srv_fams2_drr_update() -> dm_execute_dmub_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 3220067603053252608 |
| PARAM_VALUE | 1 | cmd->dp_aux_access.aux_control.dpaux.length | 0 |
| PARAM_VALUE | 1 | cmd->fams2_drr_update.dmub_optc_state_req.program_manual_trigger | 0-1 |
| PARAM_VALUE | 1 | cmd->fams2_drr_update.header.payload_bytes | 20 |
| PARAM_VALUE | 1 | cmd->fams2_drr_update.header.sub_type | 5 |
| PARAM_VALUE | 1 | cmd->fams2_drr_update.header.type | 76 |
| PARAM_VALUE | 1 | cmd->ips_residency_cntl.cntl_data.start_measurement | 0 |
| PARAM_VALUE | 2 | wait_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_dmub_srv_notify_idle() -> dm_execute_dmub_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub | 1-u64max |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub->shared_state | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 1446691566818107392 |
| PARAM_VALUE | 1 | cmd->dp_aux_access.aux_control.dpaux.length | 0 |
| PARAM_VALUE | 1 | cmd->idle_opt_notify_idle.cntl_data.driver_idle | 0-1 |
| PARAM_VALUE | 1 | cmd->idle_opt_notify_idle.cntl_data.skip_otg_disable | 0-1 |
| PARAM_VALUE | 1 | cmd->idle_opt_notify_idle.header.payload_bytes | 60 |
| PARAM_VALUE | 1 | cmd->idle_opt_notify_idle.header.sub_type | 2 |
| PARAM_VALUE | 1 | cmd->idle_opt_notify_idle.header.type | 72 |
| PARAM_VALUE | 1 | cmd->ips_residency_cntl.cntl_data.start_measurement | 0 |
| PARAM_VALUE | 2 | wait_type | 0-1 |
| FUZZY_MAX | 2 | wait_type | 1 |
| HARD_MAX | 2 | wait_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_dmub_srv_release_hw() -> dm_execute_dmub_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub | 1-u64max |
| PARAM_VALUE | 1 | cmd | 7608195750492590080 |
| PARAM_VALUE | 1 | cmd->dp_aux_access.aux_control.dpaux.length | 0 |
| PARAM_VALUE | 1 | cmd->idle_opt_notify_idle.header.payload_bytes | 60 |
| PARAM_VALUE | 1 | cmd->idle_opt_notify_idle.header.sub_type | 4 |
| PARAM_VALUE | 1 | cmd->idle_opt_notify_idle.header.type | 72 |
| PARAM_VALUE | 1 | cmd->ips_residency_cntl.cntl_data.start_measurement | 0 |
| PARAM_VALUE | 2 | wait_type | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_wake_and_execute_dmub_cmd_list() -> dm_execute_dmub_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv->dmub | 1-u64max |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | cmd | $2 |
| DATA_SOURCE | 2 | wait_type | $3 |
| NOSPEC | 1 | cmd->dp_aux_access.aux_control.dpaux.length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | cmd->dp_aux_access.aux_control.dpaux.length | 0-16[c] |
| USER_DATA | 1 | cmd->dp_aux_access.aux_control.dpaux.address | 0-u32max |
| USER_DATA | 1 | cmd->dp_aux_access.aux_control.dpaux.length | 1-15[c] |
| USER_DATA | 1 | cmd->ips_residency_cntl.cntl_data.start_measurement | 0-1 |
| HALF_LOCKED2 | &adev->dm.dc_lock | ||
| HALF_LOCKED2 | &adev->dm.dpia_aux_lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &m->lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn60/dcn60_hwseq.c dcn60_notify_dmub_of_cab_status() -> dm_execute_dmub_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv | 1-u64max |
| PARAM_VALUE | 1 | cmd | 3804981434492014592 |
| PARAM_VALUE | 1 | cmd->cab.header.payload_bytes | 4 |
| PARAM_VALUE | 1 | cmd->cab.header.sub_type | 0-1,3 |
| PARAM_VALUE | 1 | cmd->cab.header.type | 75 |
| PARAM_VALUE | 2 | wait_type | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c dcn401_apply_idle_power_optimizations() -> dm_execute_dmub_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dmub_srv | 1-u64max |
| PARAM_VALUE | 1 | cmd | 8535647231665430528 |
| PARAM_VALUE | 1 | cmd->cab.header.payload_bytes | 4 |
| PARAM_VALUE | 1 | cmd->cab.header.sub_type | 0-3 |
| PARAM_VALUE | 1 | cmd->cab.header.type | 75 |
| PARAM_VALUE | 2 | wait_type | 1 |
| NOCHECK_CALL |