[Intel-gfx] [PATCH i-g-t] tests/kms_plane_lowres: Add DRM_MODE_ATOMIC_ALLOW_MODESET test
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Wed Mar 8 12:38:50 UTC 2017
Hey,
Op 07-02-17 om 14:33 schreef Mika Kahola:
> When doing a full atomic modeset, kernel should fail if the flag
> DRM_MODE_ATOMIC_ALLOW_MODESET is not set. Let's add this test as part of
> 'kms_plane_lowres' testset. The testcases are 'pipe-x-allow-modeset' where
> x stands for pipe in question.
>
> For: VIZ-6955
I think it makes sense for this to be a standalone test, kms_atomic_allow_modeset.
igt_display
It should be trying the following:
0. Add a way to control the active property to lib/igt_kms.c either auto (backwards compatible), off or on.
1. Toggling the active property only, with and without mode set. (Testing active_changed vs modeset flag)
2. With the active property set to disabled (dpms off), try to set and unset the mode. (Testing mode_changed vs modeset flag)
3. Try swapping connectors on a crtc. (Testing connectors_changed vs modeset flag)
With and without TEST_ONLY. :)
I think that makes more sense than changing a unrelated test.
Cheers,
~Maarten
More information about the Intel-gfx
mailing list