[igt-dev] [PATCH i-g-t] tests/kms_dp_dsc: Assign the proper output
From: Karthik B S <hidden>
Date: 2021-06-14 08:50:30
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Karthik B S <hidden>
Date: 2021-06-14 08:50:30
Subsystem:
the rest · Maintainer:
Linus Torvalds
Use 'output' here rather than 'data->output' as it is still not populated. Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/3494 Signed-off-by: Karthik B S <redacted> --- tests/kms_dp_dsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_dp_dsc.c b/tests/kms_dp_dsc.c
index 2446fd82..12180b19 100644
--- a/tests/kms_dp_dsc.c
+++ b/tests/kms_dp_dsc.c@@ -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,
--
2.22.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev