sna: Remove bogus assert that the connector is a zombie before reattaching
To know that the connector was unplugged before we discover it was plugged back in again, requires handing the unplug notification in time. This does not always happen and we may see the reattachment instead. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99432 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
2da23747c6
commit
fe0846b1e1
|
|
@ -5095,7 +5095,6 @@ sna_output_add(struct sna *sna, unsigned id, unsigned serial)
|
|||
if (strcmp(output->name, name) == 0) {
|
||||
assert(output->scrn == scrn);
|
||||
assert(output->funcs == &sna_output_funcs);
|
||||
assert(to_sna_output(output)->id == 0);
|
||||
sna_output_destroy(output);
|
||||
goto reset;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue