Skip to contentSkip to conversation

tests/kms_dp_dsc: Assign the proper output

PATCH Superseded Karthik B S 2 participants 3 messages Jun 14, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/kms_dp_dsc: Assign the proper output

Use 'output' here rather than 'data->output' as it is still not populated.

---
 tests/kms_dp_dsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_dp_dsc.c +1 -1
index 2446fd82..12180b19 100644
@@ -228,7 +228,7 @@ static void run_test(data_t *data, igt_output_t *output,
 {
 	enum pipe pipe;
 
-	data->mode = igt_output_get_mode(data->output);
+	data->mode = igt_output_get_mode(output);
 	igt_create_pattern_fb(data->drm_fd, data->mode->hdisplay,
 			      data->mode->vdisplay,
 			      DRM_FORMAT_XRGB8888,
Signature · 6 lines
2.22.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: B S, Karthik <[email protected]>
Sent: Monday, June 14, 2021 1:58 PM
To: [email protected]
Cc: Kulkarni, Vandita <[email protected]>; Joshi, Kunal1 <[email protected]>; B S, Karthik <[email protected]>
Subject: [PATCH i-g-t] tests/kms_dp_dsc: Assign the proper output

Use 'output' here rather than 'data->output' as it is still not populated.

Fixes - patch that introduced this
Closes - issue id
With that fixed,
LGTM.

Thanks,
Vandita

Quoted 20 lines
---
 tests/kms_dp_dsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_dp_dsc.c index renamed from tests/kms_dp_dsc.c +0 -0

2446fd82..12180b19 100644

tests/kms_dp_dsc.c +1 -2
@@ -228,7 +228,7 @@ static void run_test(data_t *data, igt_output_t
 *output,  {
 	enum pipe pipe;
 
-	data->mode = igt_output_get_mode(data->output);
+	data->mode = igt_output_get_mode(output);
 	igt_create_pattern_fb(data->drm_fd, data->mode->hdisplay,
 			      data->mode->vdisplay,
 			      DRM_FORMAT_XRGB8888,
--
Quoted 1 line

2.22.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw
Quoted 8 lines · Vandita
Quoted 8 lines

-----Original Message-----
From: B S, Karthik <[email protected]>
Sent: Monday, June 14, 2021 1:58 PM
To: [email protected]
Cc: Kulkarni, Vandita <[email protected]>; Joshi, Kunal1 <[email protected]>; B S, Karthik <[email protected]>
Subject: [PATCH i-g-t] tests/kms_dp_dsc: Assign the proper output

Quoted 8 lines
Quoted 3 lines

Use 'output' here rather than 'data->output' as it is still not populated.

Fixes - patch that introduced this
Closes - issue id
With that fixed,
LGTM.

Thank you for the rb. I will update the patch accordingly.

Thanks,

Karthik.B.S

Quoted 16 lines

Thanks,
Vandita

Quoted 13 lines
---
  tests/kms_dp_dsc.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_dp_dsc.c index renamed from tests/kms_dp_dsc.c +0 -0

2446fd82..12180b19 100644

tests/kms_dp_dsc.c +0 -0
@@ -228,7 +228,7 @@ static void run_test(data_t *data, igt_output_t
 *output,  {
  	enum pipe pipe;
 
Quoted 7 lines
Quoted 7 lines
tests/kms_dp_dsc.c +1 -2
-	data->mode = igt_output_get_mode(data->output);
+	data->mode = igt_output_get_mode(output);
  	igt_create_pattern_fb(data->drm_fd, data->mode->hdisplay,
  			      data->mode->vdisplay,
  			      DRM_FORMAT_XRGB8888,
--

2.22.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev