diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-09-21 12:01:41 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-10-20 11:17:31 +0200 |
commit | 13ead623602b6f60033a2258d17f34094f1418be (patch) | |
tree | dda0ac1088fa38f74503ab05e51be504f9112636 /tests/kms_panel_fitting.c | |
parent | abc08cba366a64a07f7f4deb167ae7d6ae059958 (diff) |
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 <maarten.lankhorst@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'tests/kms_panel_fitting.c')
-rw-r--r-- | tests/kms_panel_fitting.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |