[igt-dev] [PATCH i-g-t v2] tests/kms_dp_dsc: Assign the proper output
Karthik B S
karthik.b.s at intel.com
Mon Jun 14 10:27:08 UTC 2021
Use 'output' here rather than 'data->output' as it is still not populated.
Fixes: a1772be7dede ("tests/kms_dp_dsc: Bug fix for DP on Pipe A")
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3494
Signed-off-by: Karthik B S <karthik.b.s at intel.com>
Reviewed-by: Vandita Kulkarni <vandita.kulkarni at intel.com>
---
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
More information about the igt-dev
mailing list