[PATCH i-g-t v3 1/3] tests/kms_plane_scaling: Add mode override in scaling test
Naladala Ramanaidu
ramanaidu.naladala at intel.com
Thu Sep 26 18:11:48 UTC 2024
Add a call to igt_output_override_mode to ensure the correct mode
is set for each connector. Modify check_scaling_pipe_plane_rot
function to include igt_output_override_mode. This change helps
in accurately testing the scaling functionality by explicitly
setting the mode before running the tests.
Fixes: 27926dd5792a ("tests/kms_plane_scaling: Find display mode fitting in BW for rotations")
Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala at intel.com>
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
---
tests/kms_plane_scaling.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index bc9114acd..96ceedee2 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -585,6 +585,7 @@ check_scaling_pipe_plane_rot(data_t *d, igt_plane_t *plane,
for_each_connector_mode(output) {
mode = &output->config.connector->modes[j__];
+ igt_output_override_mode(output, mode);
igt_debug("Trying mode %dx%d\n",
mode->hdisplay, mode->vdisplay);
--
2.43.0
More information about the igt-dev
mailing list