Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c, line 3365
- drivers/gpu/drm/amd/display/modules/power/power_psr.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c psr_get() -> dc_link_get_psr_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 6547935202408742912 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->dm.dc_lock | ||
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_psr.c mod_power_get_psr_state() -> dc_link_get_psr_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | link | (-1),1576 |
| BUF_SIZE | 0 | link | (-1),1576 |
| DATA_SOURCE | 0 | link | r dc_stream_get_link |
| DATA_SOURCE | 1 | state | $2 |
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_psr.c set_psr_enable() -> dc_link_get_psr_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 128 |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->edp_set_psr_allow_active | 4096-ptr_max |
| PARAM_VALUE | 0 | link->psr_settings.psr_power_opt | 0-273 |
| PARAM_VALUE | 1 | state | 2778605336279744512 |
| BUF_SIZE | 0 | link | (-1),1576 |
| BUF_SIZE | 0 | link | (-1),1576 |
| CAPPED_DATA | 0 | link | 1 |
| CAPPED_DATA | 0 | link->ctx->dc->link_count | 1 |
| DATA_SOURCE | 0 | link | r dc_stream_get_link |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dm->dc_lock |