[xrandr] Only use the current information when setting modes

2015-09-13 Thread Chris Wilson
Before we change the state (e.g. adding a mode or applying one to an output), we query the screen resources for the right identifiers. This should only use the current information rather than force a reprobe on all hardware - not only can that reprobe be very slow (e.g. EDID timeouts on the order

Re: [xrandr] Only use the current information when setting modes

2015-09-13 Thread Chris Wilson
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? >

Re: [xrandr] Only use the current information when setting modes

2015-09-13 Thread Mark Kettenis
> From: Chris Wilson > Date: Sun, 13 Sep 2015 11:40:37 +0100 > > Before we change the state (e.g. adding a mode or applying one to an > output), we query the screen resources for the right identifiers. This > should only use the current information rather than force a

Re: [xrandr] Only use the current information when setting modes

2015-09-13 Thread Chris Wilson
On Sun, Sep 13, 2015 at 01:08:11PM +0200, Mark Kettenis wrote: > > From: Chris Wilson > > Date: Sun, 13 Sep 2015 11:40:37 +0100 > > > > Before we change the state (e.g. adding a mode or applying one to an > > output), we query the screen resources for the right

[PATCH:xf86-video-mga] Use correct type in function call.

2015-09-13 Thread Thomas Klausner
Fixes passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type pciaccess.h:153:5: note: expected '__uint32_t *' but argument is of type 'CARD32 *' Signed-off-by: Thomas Klausner --- src/mga_dac3026.c | 6 +- 1 file changed, 5 insertions(+), 1

Re: [xrandr] Only use the current information when setting modes

2015-09-13 Thread Chris Wilson
On Sun, Sep 13, 2015 at 08:01:46PM +0200, Mark Kettenis wrote: > > Date: Sun, 13 Sep 2015 12:14:57 +0100 > > From: Chris Wilson > > > > On Sun, Sep 13, 2015 at 01:08:11PM +0200, Mark Kettenis wrote: > > > > From: Chris Wilson > > > > Date:

Re: [xrandr] Only use the current information when setting modes

2015-09-13 Thread Mark Kettenis
> Date: Sun, 13 Sep 2015 12:14:57 +0100 > From: Chris Wilson > > On Sun, Sep 13, 2015 at 01:08:11PM +0200, Mark Kettenis wrote: > > > From: Chris Wilson > > > Date: Sun, 13 Sep 2015 11:40:37 +0100 > > > > > > Before we change the state (e.g.

[PATCH:xf86-video-sis] Fix arguments for miSetPointerPosition.

2015-09-13 Thread Thomas Klausner
For the call for the API between versions 5 and 13. --- src/sis_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sis_driver.c b/src/sis_driver.c index 854cb54..c1d26f3 100644 --- a/src/sis_driver.c +++ b/src/sis_driver.c @@ -9397,7 +9397,7 @@