Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_set_psr_allow_active() -> dc_link_set_psr_allow_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->psr_settings.psr_allow_active | 0 |
| PARAM_VALUE | 0 | link->psr_settings.psr_feature_enabled | 1 |
| PARAM_VALUE | 1 | allow_active | 8573018170655256576 |
| PARAM_VALUE | 1 | *allow_active | 1 |
| PARAM_VALUE | 2 | wait | 0 |
| PARAM_VALUE | 3 | force_static | 0 |
| PARAM_VALUE | 4 | power_opts | 0 |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_set_psr_allow_active() -> dc_link_set_psr_allow_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->psr_settings.psr_allow_active | 1 |
| PARAM_VALUE | 0 | link->psr_settings.psr_feature_enabled | 1 |
| PARAM_VALUE | 1 | allow_active | 8573018170655256576 |
| PARAM_VALUE | 1 | *allow_active | 0 |
| PARAM_VALUE | 2 | wait | 1 |
| PARAM_VALUE | 3 | force_static | 0 |
| PARAM_VALUE | 4 | power_opts | 0 |
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_psr.c mod_power_psr_set_power_opt() -> dc_link_set_psr_allow_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | allow_active | 0 |
| PARAM_VALUE | 2 | wait | 0 |
| PARAM_VALUE | 3 | force_static | 0 |
| PARAM_VALUE | 4 | power_opts | 2563988739844943872 |
| PARAM_VALUE | 4 | *power_opts | 0-273 |
| BUF_SIZE | 0 | link | (-1),1576 |
| BUF_SIZE | 0 | link | (-1),1576 |
| DATA_SOURCE | 0 | link | r dc_stream_get_link |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dm->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_psr.c set_psr_enable() -> dc_link_set_psr_allow_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | wait | 0 |
| PARAM_VALUE | 4 | power_opts | 0 |
| BUF_SIZE | 0 | link | (-1),1576 |
| BUF_SIZE | 0 | link | (-1),1576 |
| DATA_SOURCE | 0 | link | r dc_stream_get_link |
| DATA_SOURCE | 3 | force_static | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dm->dc_lock |