Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c, line 2551
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c, line 138
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_psr_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_psr_test.c dm_test_set_psr_caps_disconnected() -> amdgpu_dm_set_psr_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 128 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->caps.dmub_caps.psr | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.edp_rev | 3 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_version | 4 |
| PARAM_VALUE | 0 | link->type | 0 |
| PARAM_VALUE | 1 | aconnector | 16,4096-ptr_max |
| BUF_SIZE | 0 | link | 1616 |
| BUF_SIZE | 1 | aconnector | 9272 |
| DATA_SOURCE | 0 | link | r alloc_test_psr_caps_link |
| DATA_SOURCE | 1 | aconnector | r alloc_test_aconnector |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_psr_test.c dm_test_set_psr_caps_edp1_disabled() -> amdgpu_dm_set_psr_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 128 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->caps.dmub_caps.psr | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.edp_rev | 3 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_version | 4 |
| PARAM_VALUE | 0 | link->type | 1 |
| PARAM_VALUE | 1 | aconnector | 16,4096-ptr_max |
| BUF_SIZE | 0 | link | 1616 |
| BUF_SIZE | 1 | aconnector | 9272 |
| DATA_SOURCE | 0 | link | r alloc_test_psr_caps_link |
| DATA_SOURCE | 1 | aconnector | r alloc_test_aconnector |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_psr_test.c dm_test_set_psr_caps_no_dmub_psr() -> amdgpu_dm_set_psr_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 128 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->caps.dmub_caps.psr | 0 |
| PARAM_VALUE | 0 | link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.edp_rev | 3 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_version | 4 |
| PARAM_VALUE | 0 | link->psr_settings.psr_version | 0 |
| PARAM_VALUE | 0 | link->type | 1 |
| PARAM_VALUE | 1 | aconnector | 16,4096-ptr_max |
| BUF_SIZE | 0 | link | 1616 |
| BUF_SIZE | 1 | aconnector | 9272 |
| DATA_SOURCE | 0 | link | r alloc_test_psr_caps_link |
| DATA_SOURCE | 1 | aconnector | r alloc_test_aconnector |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_psr_test.c dm_test_set_psr_caps_no_dpcd_psr() -> amdgpu_dm_set_psr_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 128 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->caps.dmub_caps.psr | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.edp_rev | 3 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_version | 0 |
| PARAM_VALUE | 0 | link->type | 1 |
| PARAM_VALUE | 1 | aconnector | 16,4096-ptr_max |
| BUF_SIZE | 0 | link | 1616 |
| BUF_SIZE | 1 | aconnector | 9272 |
| DATA_SOURCE | 0 | link | r alloc_test_psr_caps_link |
| DATA_SOURCE | 1 | aconnector | r alloc_test_aconnector |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_psr_test.c dm_test_set_psr_caps_non_edp() -> amdgpu_dm_set_psr_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 32 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->caps.dmub_caps.psr | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.edp_rev | 3 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_version | 4 |
| PARAM_VALUE | 0 | link->type | 1 |
| PARAM_VALUE | 1 | aconnector | 16,4096-ptr_max |
| BUF_SIZE | 0 | link | 1616 |
| BUF_SIZE | 1 | aconnector | 9272 |
| DATA_SOURCE | 0 | link | r alloc_test_psr_caps_link |
| DATA_SOURCE | 1 | aconnector | r alloc_test_aconnector |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_psr_test.c dm_test_set_psr_caps_null_connector() -> amdgpu_dm_set_psr_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 128 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->caps.dmub_caps.psr | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.edp_rev | 3 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_version | 4 |
| PARAM_VALUE | 0 | link->type | 1 |
| PARAM_VALUE | 1 | aconnector | 0 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r alloc_test_psr_caps_link |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_psr_test.c dm_test_set_psr_caps_null_link() -> amdgpu_dm_set_psr_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 0 |
| PARAM_VALUE | 1 | aconnector | 16,4096-ptr_max |
| BUF_SIZE | 1 | aconnector | 9272 |
| DATA_SOURCE | 1 | aconnector | r alloc_test_aconnector |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_psr_test.c dm_test_set_psr_caps_success_psr1() -> amdgpu_dm_set_psr_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 128 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->caps.dmub_caps.psr | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.edp_rev | 3 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED | 1 |
| PARAM_VALUE | 0 | link->dpcd_caps.psr_info.psr_version | 4 |
| PARAM_VALUE | 0 | link->type | 1 |
| PARAM_VALUE | 1 | aconnector | 16,4096-ptr_max |
| BUF_SIZE | 0 | link | 1616 |
| BUF_SIZE | 1 | aconnector | 9272 |
| DATA_SOURCE | 0 | link | r alloc_test_psr_caps_link |
| DATA_SOURCE | 1 | aconnector | r alloc_test_aconnector |