[PATCH] glamor: Use GL_STREAM_READ also for read/write access to a PBO

2014-09-25 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com Otherwise the CPU may end up reading from non-cacheable memory, which is very slow. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84178 Signed-off-by: Michel Dänzer michel.daen...@amd.com --- Keeping gl_usage in case we need to add back

Re: [PATCH] glamor: Use GL_STREAM_READ also for read/write access to a PBO

2014-09-25 Thread Markus Wick
Am 2014-09-25 08:27, schrieb Michel Dänzer: From: Michel Dänzer michel.daen...@amd.com Otherwise the CPU may end up reading from non-cacheable memory, which is very slow. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84178 Signed-off-by: Michel Dänzer michel.daen...@amd.com ---

Re: [PATCH] glamor: Use GL_STREAM_READ also for read/write access to a PBO

2014-09-25 Thread Michel Dänzer
On 25.09.2014 15:57, Markus Wick wrote: Am 2014-09-25 08:27, schrieb Michel Dänzer: From: Michel Dänzer michel.daen...@amd.com Otherwise the CPU may end up reading from non-cacheable memory, which is very slow. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84178 Signed-off-by: Michel

Re: F21/F22: xorg-x11-drv: which for SiS?

2014-09-25 Thread Hans de Goede
Hi, On 09/24/2014 09:23 PM, Felix Miata wrote: Laércio de Sousa wrote on 2014-09-23 08:05 (GMT-0300): 2014-09-23 3:37 GMT-03:00 Jasper St. Pierre composed: Felix Miata wrote: xorg-x11-drv-sis seems to have disappeared. Did that happen on purpose? It still exists as a selelection in

Re: [PATCH driver/intel] Allow copy_front() to fail and clean up gracefully if it does

2014-09-25 Thread Egbert Eich
Chris Wilson writes: On Wed, Sep 24, 2014 at 01:23:26PM +0200, Egbert Eich wrote: Chris Wilson writes: On Wed, Sep 24, 2014 at 12:34:29PM +0200, Egbert Eich wrote: For panning one needs to be able to draw into the screen pixmap outside of the area exposed by the

Re: [PATCH driver/intel] Allow copy_front() to fail and clean up gracefully if it does

2014-09-25 Thread Chris Wilson
On Thu, Sep 25, 2014 at 03:16:23PM +0200, Egbert Eich wrote: Chris Wilson writes: On Wed, Sep 24, 2014 at 01:23:26PM +0200, Egbert Eich wrote: Chris Wilson writes: On Wed, Sep 24, 2014 at 12:34:29PM +0200, Egbert Eich wrote: For panning one needs to be able to draw

Re: [PATCH driver/intel] Allow copy_front() to fail and clean up gracefully if it does

2014-09-25 Thread Chris Wilson
On Thu, Sep 25, 2014 at 04:10:26PM +0100, Chris Wilson wrote: On Thu, Sep 25, 2014 at 03:16:23PM +0200, Egbert Eich wrote: Chris Wilson writes: On Wed, Sep 24, 2014 at 01:23:26PM +0200, Egbert Eich wrote: Chris Wilson writes: On Wed, Sep 24, 2014 at 12:34:29PM +0200, Egbert Eich

Re: F21/F22: xorg-x11-drv: which for SiS?

2014-09-25 Thread Felix Miata
Hans de Goede wrote on 2014-09-25 08:45 (GMT-0400): this package is dead for Fedora 21 and later due to lack of KMS support. Not exactly. My OP here was intended to goto the de...@lists.fedoraproject.org list, but I copied and pasted the wrong address from an email that had been sent both

[PATCH 04/19] loader: Deobfuscate RTLD_* macro stuff

2014-09-25 Thread Adam Jackson
POSIX requires that these be named correctly, no need to be clever. Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/loader/loader.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/hw/xfree86/loader/loader.c b/hw/xfree86/loader/loader.c index

[PATCH 03/19] input: Remove unused SetKeySymsMap

2014-09-25 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- dix/devices.c | 57 - include/input.h | 3 --- 2 files changed, 60 deletions(-) diff --git a/dix/devices.c b/dix/devices.c index f17a3ac..3fb7ca0 100644 --- a/dix/devices.c +++

[PATCH 00/19] Assorted cleanups

2014-09-25 Thread Adam Jackson
Approximately zero functional change. The only two I'd be even a little unsure of are 8 and 18, and those only because there might be a binary driver actually using what they're removing. - ajax ___ xorg-devel@lists.x.org: X.Org development Archives:

[PATCH 06/19] mi: Remove Windows 8-bpp colormap compatibility

2014-09-25 Thread Adam Jackson
Nice, but not something our Windows servers build, and not something that belongs in mi anyway. Signed-off-by: Adam Jackson a...@redhat.com --- mi/micmap.c | 44 1 file changed, 44 deletions(-) diff --git a/mi/micmap.c b/mi/micmap.c index

[PATCH 01/19] damageext: dixLookupDrawable(M_WINDOW) - dixLookupWindow

2014-09-25 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- damageext/damageext.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/damageext/damageext.c b/damageext/damageext.c index 886f56d..4928379 100644 --- a/damageext/damageext.c +++ b/damageext/damageext.c @@ -687,9 +687,8 @@

[PATCH 05/19] loader: Remove some baklava code

2014-09-25 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/loader/loadmod.c | 113 +++- 1 file changed, 48 insertions(+), 65 deletions(-) diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c index 21ccb1b..7021bdd 100644 ---

[PATCH 02/19] exa, kdrive: Remove redundant BitsPerPixel macros

2014-09-25 Thread Adam Jackson
We already get this from servermd.h Signed-off-by: Adam Jackson a...@redhat.com --- exa/exa_priv.h | 12 hw/kdrive/src/kdrive.h | 13 - 2 files changed, 25 deletions(-) diff --git a/exa/exa_priv.h b/exa/exa_priv.h index 61a1f4c..88bfd37 100644 ---

[PATCH 11/19] xfree86: Remove spurious xf86ConfigError

2014-09-25 Thread Adam Jackson
READABLE. Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Config.c | 48 +++--- 1 file changed, 12 insertions(+), 36 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 53e61a0..546055d 100644

[PATCH 07/19] vfb: Don't reimplement micmap so much

2014-09-25 Thread Adam Jackson
We know we're atop fb which is atop micmap, the only thing we need to hook is InstallColormap to handle the xwd colormap change. Signed-off-by: Adam Jackson a...@redhat.com --- hw/vfb/InitOutput.c | 55 +++-- 1 file changed, 3 insertions(+), 52

[PATCH 18/19] xfree86: Remove driver entity hooks and private

2014-09-25 Thread Adam Jackson
No driver is using these, as far as I know. Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86.h | 3 --- hw/xfree86/common/xf86Bus.c| 41 - hw/xfree86/common/xf86Bus.h| 4 hw/xfree86/common/xf86Events.c | 4

[PATCH 14/19] xfree86: Remove xf86Info.log

2014-09-25 Thread Adam Jackson
SUBCLASS ALL THE THINGS Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Config.c | 2 -- hw/xfree86/common/xf86Globals.c | 1 - hw/xfree86/common/xf86Privstr.h | 1 - 3 files changed, 4 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c

[PATCH 16/19] xfree86: configServerFlags never fails, make it return void

2014-09-25 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Config.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 3eb7a0f..bca5b45 100644 --- a/hw/xfree86/common/xf86Config.c +++

[PATCH 19/19] x86emu: Undefine _NO_INLINE

2014-09-25 Thread Adam Jackson
Never defined by the server. Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/x86emu/x86emu/x86emui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/x86emu/x86emu/x86emui.h b/hw/xfree86/x86emu/x86emu/x86emui.h index 5e20d97..01bd92a 100644 ---

[PATCH 08/19] xfree86: Remove xv clip notify driver hook

2014-09-25 Thread Adam Jackson
Nothing's using it. Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86xv.c | 4 hw/xfree86/common/xf86xv.h | 3 --- hw/xfree86/common/xf86xvpriv.h | 1 - 3 files changed, 8 deletions(-) diff --git a/hw/xfree86/common/xf86xv.c b/hw/xfree86/common/xf86xv.c index

[PATCH 09/19] xfree86: Remove some can't-happen printf from xf86CreateRootWindow

2014-09-25 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Init.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index b197c1c..6051fd2 100644 --- a/hw/xfree86/common/xf86Init.c +++

[PATCH 13/19] xfree86: Remove DisplayID support

2014-09-25 Thread Adam Jackson
Not actually wired up so it's fairly useless. Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/ddc/ddc.c | 58 - hw/xfree86/ddc/xf86DDC.h | 5 - hw/xfree86/modes/Makefile.am | 1 - hw/xfree86/modes/xf86DisplayIDModes.c | 444

[PATCH 15/19] xfree86: Remove unused xf86Info.useDefaultFontPathFrom

2014-09-25 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Config.c | 2 -- hw/xfree86/common/xf86Privstr.h | 1 - 2 files changed, 3 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 8f16be3..3eb7a0f 100644 ---

[PATCH 17/19] xfree86: Remove pointless xf86PrintMarkers

2014-09-25 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Init.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 6051fd2..017dcb6 100644 --- a/hw/xfree86/common/xf86Init.c +++

[PATCH 12/19] xfree86: Remove useless back-pointer to pScrn from colormap code

2014-09-25 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86cmap.c | 46 +++- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/hw/xfree86/common/xf86cmap.c b/hw/xfree86/common/xf86cmap.c index 3f9c880..c4bae56 100644 ---

[PATCH 10/19] xfree86: Remove Option TextClockFreq

2014-09-25 Thread Adam Jackson
No modern driver pays attention to this. Presumably there existed hardware once where you couldn't just read the right values out of the CRTC. Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Config.c| 1 - hw/xfree86/common/xf86Configure.c | 1 -

[PATCH] xinerama: Implement graphics exposures for window-pixmap copies (v2)

2014-09-25 Thread Adam Jackson
This code is using GetImage to accumulate a logical view of the window image (since the windows will be clipped to their containing screen), and then PutImage to load that back into the pixmap. What it wasn't doing was constructing a region for the obscured areas of the window and emitting

Re: [PATCH] glamor: Use GL_STREAM_READ also for read/write access to a PBO

2014-09-25 Thread Eric Anholt
Michel Dänzer mic...@daenzer.net writes: From: Michel Dänzer michel.daen...@amd.com Otherwise the CPU may end up reading from non-cacheable memory, which is very slow. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84178 Signed-off-by: Michel Dänzer michel.daen...@amd.com

Re: [PATCH 04/19] loader: Deobfuscate RTLD_* macro stuff

2014-09-25 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Thu, 25 Sep 2014 13:37:20 -0400 POSIX requires that these be named correctly, no need to be clever. None of the BSDs have needed those compatibility defines for quite some time, and I doubt anything else still supported cares. Reviewed-by: Mark

Re: [PATCH 18/19] xfree86: Remove driver entity hooks and private

2014-09-25 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Thu, 25 Sep 2014 13:37:34 -0400 No driver is using these, as far as I know. The xf86-video-mga driver uses these, but only if DISABLE_VGA_IO is defined, and by default it isn't, and there is no configure option to turn it on. I'm a bit worried about

Re: [PATCH 19/19] x86emu: Undefine _NO_INLINE

2014-09-25 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Thu, 25 Sep 2014 13:37:35 -0400 Never defined by the server. Fairly certain it was never intended to be defined by the server, but used as a compile-time option to make debugging easier. Signed-off-by: Adam Jackson a...@redhat.com ---

Re: [PATCH 06/19] mi: Remove Windows 8-bpp colormap compatibility

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: Nice, but not something our Windows servers build, and not something that belongs in mi anyway. Signed-off-by: Adam Jackson a...@redhat.com Reviewed-by: Eric Anholt e...@anholt.net pgpWCyQiIDjh_.pgp Description: PGP signature

Re: [PATCH 08/19] xfree86: Remove xv clip notify driver hook

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: Nothing's using it. Reviewed-by: Eric Anholt e...@anholt.net pgpV7slCH8rim.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

Re: [PATCH 10/19] xfree86: Remove Option TextClockFreq

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: No modern driver pays attention to this. Presumably there existed hardware once where you couldn't just read the right values out of the CRTC. Reviewed-by: Eric Anholt e...@anholt.net pgpNUpue8mlHq.pgp Description: PGP signature

Re: [PATCH 11/19] xfree86: Remove spurious xf86ConfigError

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: -/* - * xf86ConfigError -- - * Print a READABLE ErrorMessage!!! All information that is - * available is printed. - */ -static void -_X_ATTRIBUTE_PRINTF(1, 2) -xf86ConfigError(const char *msg, ...) -{ -va_list ap; - -

Re: [PATCH 12/19] xfree86: Remove useless back-pointer to pScrn from colormap code

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86cmap.c | 46 +++- 1 file changed, 20 insertions(+), 26 deletions(-) Looks nicer to me. Reviewed-by: Eric Anholt e...@anholt.net

Re: [PATCH 13/19] xfree86: Remove DisplayID support

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: Not actually wired up so it's fairly useless. Reviewed-by: Eric Anholt e...@anholt.net pgpyp44Uj2jSa.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Archives:

Re: [PATCH 14/19] xfree86: Remove xf86Info.log

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: SUBCLASS ALL THE THINGS Isn't the Log enum dead now? Other than that, Reviewed-by: Eric Anholt e...@anholt.net pgp4QRTLe7D2i.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development

Re: [PATCH 15/19] xfree86: Remove unused xf86Info.useDefaultFontPathFrom

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: Signed-off-by: Adam Jackson a...@redhat.com Reviewed-by: Eric Anholt e...@anholt.net pgpNeLTmeBy5p.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Archives:

Re: [PATCH 16/19] xfree86: configServerFlags never fails, make it return void

2014-09-25 Thread Eric Anholt
Adam Jackson a...@redhat.com writes: Signed-off-by: Adam Jackson a...@redhat.com Patches 16, 17, and 19 are also: Reviewed-by: Eric Anholt e...@anholt.net pgpwWyi_3X7og.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development

Re: vmmouse kernel driver

2014-09-25 Thread Peter Hutterer
On Wed, Sep 24, 2014 at 11:12:50AM +0200, Thomas Hellstrom wrote: While looking at a vmmouse kernel driver, I wonder how the Xorg evdev driver can be configured to receive both absolute and relative events from the same device as the vmmouse sometimes sends absolute events and sometimes

Re: F21/F22: xorg-x11-drv: which for SiS?

2014-09-25 Thread Alex Deucher
On Thu, Sep 25, 2014 at 12:01 PM, Felix Miata mrma...@earthlink.net wrote: Hans de Goede wrote on 2014-09-25 08:45 (GMT-0400): this package is dead for Fedora 21 and later due to lack of KMS support. Not exactly. My OP here was intended to goto the de...@lists.fedoraproject.org list, but I

Re: F21/F22: xorg-x11-drv: which for SiS?

2014-09-25 Thread Felix Miata
Alex Deucher wrote on 2014-09-25 22:55 (UCT-0400): On Thu, Sep 25, 2014 at 12:01 PM, Felix Miata wrote: ... The sis and mga drivers are yet more cases of pushing hardware toward landfills and recyclers before their suitability to task naturally expires. Fedora seems to be the leader in this