Skip to contentSkip to conversation

tests/intel/kms_pm_dc: Add log information to dc5 psr test

PATCH In review Mohammed Thasleem 2 participants 2 messages Feb 26, 2025 – Feb 27, 2025

lore
Share & tools
lore
#0 lore raw

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.

---
 tests/intel/kms_pm_dc.c | 3 +++
 1 file changed, 3 insertions(+)
tests/intel/kms_pm_dc.c +3 -0
index bbb29d7d9..1b10c7959 100644
@@ -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
#1 lore raw

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.

---
  tests/intel/kms_pm_dc.c | 3 +++
  1 file changed, 3 insertions(+)
tests/intel/kms_pm_dc.c +0 -0
index bbb29d7d9..1b10c7959 100644

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 -0
  		if (c->connector_type != DRM_MODE_CONNECTOR_eDP)
  			continue;