[PATCH 2/2] modesetting: add dynamic connector hotplug support (MST)
Dave Airlie
airlied at gmail.com
Mon Mar 30 20:48:06 PDT 2015
>>
>> In my patch I had to remove the output from crtcs using it. Otherwise
>> the server died in a horrible fire.
>> You don't need this? Looks like I have to study your patch and compare
>> what I did wrong.
>
>
> For reference, in the NVIDIA driver we don't delete outputs unless they're
> already disabled (hence the "Unused" in "DeleteUnusedDP12Displays"). If the
> monitor was unplugged but the output has a crtc driving it, we just leave it
> enabled in the disconnected state. This avoids the problem you're referring
> to here and also keeps the client's state around, including the current
> mode, scaling / rotation / transform, custom properties, etc.
Thanks Aaron,
Daniel,
I've posted a new version of this, with the fixes for the two bugs you reported.
Dave.
More information about the xorg-devel
mailing list