summaryrefslogtreecommitdiff
path: root/src/sna
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna')
-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 f86d93d5..ad93d046 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3034,7 +3034,7 @@ static bool sna_probe_initial_configuration(struct sna *sna)
DBG(("%s: CRTC:%d, pipe=%d: has mode?=%d\n", __FUNCTION__,
sna_crtc->id, sna_crtc->pipe, mode.mode_valid));
- if (!mode.mode_valid)
+ if (!mode.mode_valid || mode.mode.clock == 0)
continue;
memset(&crtc->desiredMode, 0, sizeof(crtc->desiredMode));