sna: Set RR_Rotate_0 instead of 0 as desired initial rotation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
c5651254c3
commit
01ce3ef9f1
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue