[xrandr] Only use the current information when setting modes

Chris Wilson chris at chris-wilson.co.uk
Sun Sep 13 04:19:15 PDT 2015


On Sun, Sep 13, 2015 at 12:14:57PM +0100, Chris Wilson wrote:
> On Sun, Sep 13, 2015 at 01:08:11PM +0200, Mark Kettenis wrote:
> > Seems you already can get the behaviour you want by specifying
> > --current.  Whereas there is no convenient way to force a probe, other
> > than an explicit query?
> 
> And there should not be. On KMS platforms regeneration of the RR
> information is driven by hotplug events (either generated by the hw
> itself or by a kernel worker emulating the notifications otherwise). An
> explicit probe by the user should be the means of last resort not the
> default.

Also "xrandr" still does the explicit probe as the query is the default
operation, and only using the current on queries requires a user option.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg-devel mailing list