Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c, line 1540 (as a function)
- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.h, line 145 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_acpi_should_gpu_reset() -> amdgpu_acpi_is_s3_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags | 131072-u64max |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->flags | 0x20000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_prepare() -> amdgpu_acpi_is_s3_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags | 131072-u64max |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_suspend() -> amdgpu_acpi_is_s3_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags | 131072-u64max |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| RX_PATH | |||
| TASK_NOT_RUNNING |