lib/igt_kms: Add igt_display_reset function, v3.
A lot of code duplicates this, but it should be handled in the core. Add it and use it after igt_display_init(), the tests have to be converted one by one. Changes since v1: - Merely reset rotation to HW value. Changes since v2: - Compile. Signed-off-by: Maarten Lankhorst <email@example.com> Reviewed-by: Lyude Paul <firstname.lastname@example.org>
Showing with 106 additions and 59 deletions