summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/sna_display.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index ef39ee44..c1b4e162 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -5576,8 +5576,6 @@ static bool sna_probe_initial_configuration(struct sna *sna)
crtc->desiredX = mode.x;
crtc->desiredY = mode.y;
crtc->desiredTransformPresent = FALSE;
-
- sna_crtc->kmode = mode.mode;
}
/* Reconstruct outputs pointing to active CRTC */
@@ -5714,8 +5712,6 @@ static bool sna_probe_initial_configuration(struct sna *sna)
scrn->virtualX = width;
scrn->virtualY = height;
- sna->mode.dirty = true;
-
xf86SetScrnInfoModes(sna->scrn);
DBG(("%s: SetScrnInfoModes = %p\n", __FUNCTION__, scrn->modes));
return scrn->modes != NULL;