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:
Chris Wilson 2017-02-01 09:03:22 +00:00
parent 2da23747c6
commit fe0846b1e1
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}