Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c, line 1939
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.c, line 354
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_dmub_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_dmub_test.c dm_test_dmub_hw_resume_auto_load_timeout() -> dm_dmub_hw_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.get_fw_status | 3725257546351398912 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.init_reg_offsets | 215526895875743744 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.is_hw_init | 4245479303333957632 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.is_supported | 8545753038456225792 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_init | 1 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->power_state | 1 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->sw_init | 1 |
| BUF_SIZE | 0 | adev->dm.dmub_srv | 1240 |
| DATA_SOURCE | 0 | adev | r dm_test_alloc_adev_with_dc |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_dmub_test.c dm_test_dmub_hw_resume_full_init() -> dm_dmub_hw_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->bios | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adev->bios_size | 4 |
| PARAM_VALUE | 0 | adev->dm.dmub_fb_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_fb_info->num_fb | 12 |
| PARAM_VALUE | 0 | adev->dm.dmub_fw | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_fw->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_fw->size | 512 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.get_fw_status | 1601100326439059456 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.init_reg_offsets | 215526895875743744 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.is_hw_init | 4245479303333957632 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.is_supported | 8545753038456225792 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_init | 0 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->power_state | 1 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->sw_init | 1 |
| PARAM_VALUE | 0 | adev->dm.fw_inst_size | 0 |
| DATA_SOURCE | 0 | adev | r dm_test_alloc_adev_with_dmub |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_dmub_test.c dm_test_dmub_hw_resume_init_check_failed() -> dm_dmub_hw_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->bios | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adev->bios_size | 4 |
| PARAM_VALUE | 0 | adev->dm.dmub_fb_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_fb_info->num_fb | 12 |
| PARAM_VALUE | 0 | adev->dm.dmub_fw | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_fw->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_fw->size | 512 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.get_fw_status | 1601100326439059456 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.init_reg_offsets | 215526895875743744 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.is_hw_init | 4245479303333957632 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.is_supported | 8545753038456225792 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_init | 1 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->power_state | 1 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->sw_init | 0 |
| PARAM_VALUE | 0 | adev->dm.fw_inst_size | 0 |
| DATA_SOURCE | 0 | adev | r dm_test_alloc_adev_with_dmub |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_dmub_test.c dm_test_dmub_hw_resume_initialized_dmub() -> dm_dmub_hw_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.get_fw_status | 1601100326439059456 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.init_reg_offsets | 215526895875743744 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.is_hw_init | 4245479303333957632 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_funcs.is_supported | 8545753038456225792 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->hw_init | 1 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->power_state | 1 |
| PARAM_VALUE | 0 | adev->dm.dmub_srv->sw_init | 1 |
| BUF_SIZE | 0 | adev->dm.dmub_srv | 1240 |
| DATA_SOURCE | 0 | adev | r dm_test_alloc_adev_with_dc |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_dmub_test.c dm_test_dmub_hw_resume_no_dmub_srv() -> dm_dmub_hw_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dmub_srv | 0 |
| DATA_SOURCE | 0 | adev | r dm_test_alloc_adev_with_dc |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_resume() -> dm_dmub_hw_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dm.dc | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &dm->dc_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |