Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 3488
- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c, line 2915
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_runtime_suspend() -> amdgpu_device_baco_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->in_runpm | 1 |
| PARAM_VALUE | 0 | adev->pm.rpm_mode | 3-4 |
| PARAM_VALUE | 0 | adev->rings | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_xgmi_reset_func() -> amdgpu_device_baco_enter()
| 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 |
| LOCK2 | &hive->tb.enter_turnstile | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct task_barrier)->enter_turnstile |