[PATCH] sna: avoid negative timeouts

2013-10-03 Thread Felipe Contreras
It's nice to avoid X server crashes (by not passing negative values to select(3)). For more information: http://article.gmane.org/gmane.comp.freedesktop.xorg.devel/37388 Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- src/sna/sna_accel.c | 3 +++ 1 file changed, 3 insertions

Re: [PATCH] sna: avoid negative timeouts

2013-10-03 Thread Felipe Contreras
On Thu, Oct 3, 2013 at 2:36 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Thu, Oct 03, 2013 at 01:29:29AM -0500, Felipe Contreras wrote: It's nice to avoid X server crashes (by not passing negative values to select(3)). For more information: http://article.gmane.org

Re: [PATCH] sna: avoid negative timeouts

2013-10-03 Thread Felipe Contreras
On Thu, Oct 3, 2013 at 3:17 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Thu, Oct 03, 2013 at 03:06:03AM -0500, Felipe Contreras wrote: On Thu, Oct 3, 2013 at 2:36 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Thu, Oct 03, 2013 at 01:29:29AM -0500, Felipe Contreras wrote: It's

Re: [PATCH] sna: avoid negative timeouts

2013-10-03 Thread Felipe Contreras
On Thu, Oct 3, 2013 at 4:15 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Thu, Oct 03, 2013 at 04:09:32AM -0500, Felipe Contreras wrote: On Thu, Oct 3, 2013 at 3:17 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: That will hopefully catch which path is consuming too much time

Re: [PATCH] sna: avoid negative timeouts

2013-10-03 Thread Felipe Contreras
On Thu, Oct 3, 2013 at 11:01 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Thu, Oct 03, 2013 at 10:56:43AM -0500, Felipe Contreras wrote: On Thu, Oct 3, 2013 at 4:15 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Thu, Oct 03, 2013 at 04:09:32AM -0500, Felipe Contreras wrote

WaitForSomething(): select: Invalid argument, part 2

2013-09-30 Thread Felipe Contreras
. In the meantime, do you have any pointers? [1] http://thread.gmane.org/gmane.comp.freedesktop.xorg/49065 -- Felipe Contreras ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg

Re: WaitForSomething(): select: Invalid argument

2013-05-09 Thread Felipe Contreras
it happen also on 3.9. X crashing is not good. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cee58483cf56e0ba355fdd97ff5e8925329aa936 -- Felipe Contreras ___ xorg@lists.x.org: X.Org support Archives: http

Strange issue with Xv on R520

2009-12-07 Thread Felipe Contreras
happening here. I'm attaching the patch I'm using, and this is the output I get: (II) RADEON(0): fc: ba=0xb74b9bc0 (II) RADEON(0): fc: ba=0xb74b9bc0 Any hints? P.S. Please CC me; I'm not subscribed -- Felipe Contreras From 4815a1f368d6ae0d9aa1a1da15a00a5f862fdc10 Mon Sep 17 00:00:00 2001 From