From 01ce3ef9f12d3b6541e166f22e1ae67033237159 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 26 Jun 2013 14:26:22 +0100 Subject: sna: Set RR_Rotate_0 instead of 0 as desired initial rotation Signed-off-by: Chris Wilson --- src/sna/sna_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index c7d46718..4732e34d 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -3004,7 +3004,7 @@ static bool sna_probe_initial_configuration(struct sna *sna) memset(&crtc->desiredMode, 0, sizeof(crtc->desiredMode)); mode_from_kmode(scrn, &mode.mode, &crtc->desiredMode); - crtc->desiredRotation = 0; + crtc->desiredRotation = RR_Rotate_0; crtc->desiredX = mode.x; crtc->desiredY = mode.y; -- cgit v1.2.3