I've sent two udl fixes for plugging in, these two fix the unplug scenario, The first avoids hitting the unregister path twice, once in device unplug and once in last open fd release. The second avoids uninit the modeset configs while userspace still has the open fd which can access them. Dave.