sna: Reuse any output not explicitly disconnected
References: https://bugs.freedesktop.org/show_bug.cgi?id=77768 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
4ed733d16a
commit
aec3cbb1ab
|
|
@ -2777,7 +2777,7 @@ sna_output_init(ScrnInfoPtr scrn, struct sna_mode *mode, int num)
|
|||
|
||||
/* stash the active CRTC id for our probe function */
|
||||
output->crtc = NULL;
|
||||
if (compat_conn.conn.connection == DRM_MODE_CONNECTED)
|
||||
if (compat_conn.conn.connection != DRM_MODE_DISCONNECTED)
|
||||
output->crtc = (void *)(uintptr_t)enc.crtc_id;
|
||||
|
||||
DBG(("%s: created output '%s' %d [%ld] (possible crtc:%x, possible clones:%x), edid=%d, dpms=%d, crtc=%lu\n",
|
||||
|
|
|
|||
Loading…
Reference in New Issue