diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-15 09:09:19 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-15 09:09:19 +0100 |
commit | 435fe185e335a147f5edb803561509e1f0cb4e70 (patch) | |
tree | f8b07d2654b4c89c41480efc4ffb7a8cadba26fa | |
parent | 067115a51b2646538a38ba603c688233c61e23cd (diff) |
sna: Update the list of outputs after a failed modeset
In case we have a hotplug at just the wrong time, we can fail a modeset
with a stale connector. Before attempting to recover, probe the kernel
for the current state.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index df6d3845..54ebe786 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -2173,6 +2173,7 @@ error: sna_crtc->offset = saved_offset; sna_crtc->transform = saved_transform; sna_crtc->bo = saved_bo; + sna_mode_discover(sna); return FALSE; } |