tests/intel/kms_pm_dc: Add log information to dc5 psr test
PATCH 1/1 tests/intel/kms_pm_dc: Add log information to dc5 psr test
Pipe A is required to run the DC5 transaction. Adding log information to indicate if any pipe other than Pipe A is selected.
Signed-off-by Mohammed Thasleem <[email protected]>
--- tests/intel/kms_pm_dc.c | 3 +++ 1 file changed, 3 insertions(+)
tests/intel/kms_pm_dc.c +3 -0
@@ -160,6 +160,9 @@ static void setup_output(data_t *data)for_each_pipe_with_valid_output (display, pipe, output) {drmModeConnectorPtr c = output->config.connector; +if (pipe !=PIPE_A ) +igt_info ("Pipe A was not selected for the DC5 transaction.\n" ); +if (c->connector_type != DRM_MODE_CONNECTOR_eDP)continue ;
Signature · 1 line
2.43.0
Hi Thasleem,
Quoted 13 lines · Mohammed Thasleem
Pipe A is required to run the DC5 transaction. Adding log information to indicate if any pipe other than Pipe A is selected.
Signed-off-by Mohammed Thasleem <[email protected]>--- tests/intel/kms_pm_dc.c | 3 +++ 1 file changed, 3 insertions(+)tests/intel/kms_pm_dc.c +0
-0
tests/intel/kms_pm_dc.c static void setup_output(data_t *data) · line 165
Quoted 6 lines
tests/intel/kms_pm_dc.c +3
-0@@ -160,6 +160,9 @@ static void setup_output(data_t *data)for_each_pipe_with_valid_output (display, pipe, output) {drmModeConnectorPtr c = output->config.connector; +if (pipe !=PIPE_A ) +igt_info ("Pipe A was not selected for the DC5 transaction.\n" ); +
Till gen12 , Only Pipe A is low power pipe and from gen12+ to xe3 , pipe A and pipe B both are low power pipes , Add this info message accordingly.
Quoted 3 lines
tests/intel/kms_pm_dc.c +0
-0if (c->connector_type != DRM_MODE_CONNECTOR_eDP)continue ;