As the virtual outputs are created later, they do not get automatically
populated with RR properties and we must do that instantiation
ourselves.
Reported-by: Kirill Müller <mail@kirill-mueller.de>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71846
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
--sigtrap;
}
+#define RR_Rotate_All (RR_Rotate_0 | RR_Rotate_90 | RR_Rotate_180 | RR_Rotate_270)
+#define RR_Reflect_All (RR_Reflect_X | RR_Reflect_Y)
+
#endif /* _SNA_H */
!RROutputSetClones(output->randr_output, clones, j))
goto err;
}
+
+ RRCrtcSetRotations(crtc->randr_crtc,
+ RR_Rotate_All | RR_Reflect_All);
} else {
mask = (1 << ++sna->mode.num_fake) - 1;
output->possible_crtcs = mask << sna->mode.num_real_crtc;
if (!xf86CrtcScreenInit(screen))
return FALSE;
- xf86RandR12SetRotations(screen,
- RR_Rotate_0 | RR_Rotate_90 | RR_Rotate_180 | RR_Rotate_270 |
- RR_Reflect_X | RR_Reflect_Y);
+ xf86RandR12SetRotations(screen, RR_Rotate_All | RR_Reflect_All);
xf86RandR12SetTransformSupport(screen, TRUE);
if (!miCreateDefColormap(screen))