summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-26 14:26:22 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-26 14:26:22 +0100
commit01ce3ef9f12d3b6541e166f22e1ae67033237159 (patch)
tree213ec5c0ebd3dcc3e5fa3b51369fe5521ee56059 /src
parentc5651254c3c152daf1ed79073779c1bed6ed0a9b (diff)
sna: Set RR_Rotate_0 instead of 0 as desired initial rotation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_display.c2
1 files changed, 1 insertions, 1 deletions
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;