From 13ead623602b6f60033a2258d17f34094f1418be Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Thu, 21 Sep 2017 12:01:41 +0200 Subject: lib/igt_kms: Rework connector properties to be more atomic, v2. In the future I want to allow tests to commit more properties, but for this to work I have to fix all properties to work better with atomic commit. Instead of special casing each property make a bitmask for all property changed flags, and try to commit all properties. Changs since v1: - Mention which properties we set to what. - Assert the property to be set is valid. Signed-off-by: Maarten Lankhorst Reviewed-by: Mika Kahola --- tests/kms_panel_fitting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_panel_fitting.c') diff --git a/tests/kms_panel_fitting.c b/tests/kms_panel_fitting.c index 85a231e6..e4ea3556 100644 --- a/tests/kms_panel_fitting.c +++ b/tests/kms_panel_fitting.c @@ -275,7 +275,7 @@ static void test_atomic_fastset(igt_display_t *display) igt_require(intel_gen(intel_get_drm_devid(display->drm_fd)) >= 5); for_each_pipe_with_valid_output(display, pipe, output) { - if (!output->config.atomic_props_connector[IGT_CONNECTOR_SCALING_MODE]) + if (!output->props[IGT_CONNECTOR_SCALING_MODE]) continue; test_panel_fitting_fastset(display, pipe, output); -- cgit v1.2.3