summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-02-14 19:36:47 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-02-14 19:39:22 +0000
commit8eb6335653e6e38228ecf95c3eef82ca2a864e45 (patch)
treed7316e578d2d2aaf6beda98cbccf17a2cf893e57
parent5f8714335729b4fbbb33d89dbaf0f13aa3d8427b (diff)
sna: Inherit the native rotation on initial output probing
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-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 8d2ec8a4..636217aa 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3692,7 +3692,7 @@ static bool sna_probe_initial_configuration(struct sna *sna)
continue;
mode_from_kmode(scrn, &mode.mode, &crtc->desiredMode);
- crtc->desiredRotation = RR_Rotate_0;
+ crtc->desiredRotation = sna_crtc->primary_rotation.current;
crtc->desiredX = mode.x;
crtc->desiredY = mode.y;
crtc->desiredTransformPresent = FALSE;