On Thu, Jun 28, 2012 at 10:36 AM, Dave Airlie <[email protected]> wrote: >>> /* Event selection bits */ >>> #define RRScreenChangeNotifyMask (1L << 0) >>> /* V1.2 additions */ >>> #define RRCrtcChangeNotifyMask (1L << 1) >>> #define RROutputChangeNotifyMask (1L << 2) >>> #define RROutputPropertyNotifyMask (1L << 3) >>> +#define RRProviderPropertyNotifyMask (1L << 4) >> >> >> Do we need a RRProviderChangeNotifyMask? Can providers dynamically appear >> and disappear? I assume they can due to things like USB hotplug. >>
I was wondering about this a bit more, I've added stuff in v5, to notify off role changes which seems useful, however I'm no sure how we notify of a provider disappearing, it seems like it would be akin to an output/crtc disappearing which we also don't support yet. I'm not sure if we should be sending screen change in that event, or we need a new RRScreenResourcesChangeNotifyMask, to provoke a complete rescan. Dave. _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
