Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/cik.c cik_asic_reset() -> cik_asic_reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| BUF_SIZE | 0 | adev->dev | (-1),1616 |
| BUF_SIZE | 0 | adev->pdev | (-1),1-s32max |
| BUF_SIZE | 0 | adev->reset_domain | (-1),192 |
| CAPPED_DATA | 0 | adev | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->flags | 0x0,0xfffffffffffdffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.visible_vram_size | 0-4503599626321920[c] |
| HOST_DATA | 0 | adev->gmc.xgmi.node_segment_size | 0,16777216-2199006478336[c] |
| HOST_DATA | 0 | adev->psp.sos.fw_version | 0-u32max |
| HOST_DATA | 0 | adev->virt.fw_reserve.checksum_key | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.offset | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.size_kb | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | adev->mode_info.num_crtc | |
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &hive->tb.enter_turnstile | ||
| HALF_LOCKED2 | &hive->tb.exit_turnstile |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_disable_dpms() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega20_hwmgr.c vega20_setup_asic_task() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c smu_v13_0_10_get_reset_handler() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c amdgpu_reset_xgmi_reset_on_init_perform_reset() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tmp_adev->reset_cntl->reset_lock | ||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem | ||
| TYPE_LOCK | (struct amdgpu_reset_control)->reset_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_need_emergency_restart() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_type | 21 |
| PARAM_VALUE | 0 | adev->pm.fw_version | 0-2634752 |
| DATA_SOURCE | 0 | adev | $0 |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/aldebaran.c aldebaran_get_reset_handler() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_check_vram_lost() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->init_lvl | 1988795180910964736,2137031549380030464,7132701583965396992 |
| PARAM_VALUE | 0 | adev->no_hw_access | 0 |
| PARAM_VALUE | 0 | adev->pcie_reset_ctx.occurs_dpc | 0 |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| CAPPED_DATA | 0 | adev->num_ip_blocks | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->mman.num_clear_entities | |
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_set_mp1_state() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_suspend_display_audio() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mp1_state | 0-1,3 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_xgmi_reset_func() -> (struct amdgpu_asic_funcs)->reset_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.xgmi.hive_id | 1-u64max |
| HALF_LOCKED2 | &pool->lock |