[PATCH 2/3] modesetting: add dynamic connector hotplug support (MST) (v2)

2015-03-30 Thread Dave Airlie
From: Dave Airlie This is ported from the same code in the ati and intel drivers, It uses the same option name as nvidia and the other DDXes to disable tearing down outputs as it is hard to avoid racing with clients. v2: address two issues with DeleteUnusedDP12 enabled, reported by Daniel Marti

Re: [PATCH 2/3] modesetting: add dynamic connector hotplug support (MST) (v2)

2015-04-13 Thread Keith Packard
Dave Airlie writes: > It uses the same option name as nvidia and the other DDXes to > disable tearing down outputs as it is hard to avoid racing with > clients. I don't think having an option here is useful -- either we figure out some way to make this reliable for clients, or we abandon the not

Re: [PATCH 2/3] modesetting: add dynamic connector hotplug support (MST) (v2)

2015-04-13 Thread Dave Airlie
On 14 April 2015 at 00:51, Keith Packard wrote: > Dave Airlie writes: > >> It uses the same option name as nvidia and the other DDXes to >> disable tearing down outputs as it is hard to avoid racing with >> clients. > > I don't think having an option here is useful -- either we figure out > some

Re: [PATCH 2/3] modesetting: add dynamic connector hotplug support (MST) (v2)

2015-04-13 Thread Keith Packard
Dave Airlie writes: > So we hot unplug, we remove the output XID from the server, in > parallel the client does an operation with the output XID it has > gotten already, and still believe is valid, and it gets BadMatch, and > since hardly anyone handles X errors it falls over. Yeah, I was curiou

Re: [PATCH 2/3] modesetting: add dynamic connector hotplug support (MST) (v2)

2015-04-19 Thread Dave Airlie
On 14 April 2015 at 13:12, Keith Packard wrote: > Dave Airlie writes: > >> So we hot unplug, we remove the output XID from the server, in >> parallel the client does an operation with the output XID it has >> gotten already, and still believe is valid, and it gets BadMatch, and >> since hardly an

Re: [PATCH 2/3] modesetting: add dynamic connector hotplug support (MST) (v2)

2015-04-20 Thread Aaron Plattner
On 04/19/2015 08:52 PM, Dave Airlie wrote: On 14 April 2015 at 13:12, Keith Packard wrote: Dave Airlie writes: So we hot unplug, we remove the output XID from the server, in parallel the client does an operation with the output XID it has gotten already, and still believe is valid, and it ge