RFC: xfree: dri2: libdrm as optional

2010-01-20 Thread Tiago Vignatti
Some drivers use DRI2 protocol but implement their own kernel rendering mananger. For these drivers, libdrm becomes useless. The only inconvenient right now to put libdrm optional to X server is concerning DRI2Authenticate. Such function uses drm_magic_t and drmAuthMagic symbols from libdrm. So I

[PATCH] vgaarb: fix typo deference when copying from userspace

2010-01-12 Thread Tiago Vignatti
From: Brad Spengler spen...@grsecurity.net libpciaccess is not triggering such code though. Signed-off-by: Tiago Vignatti tiago.vigna...@nokia.com --- Andy Getzendanner tried to fix this, but he seems did a wrong approach: http://marc.info/?l=linux-kernelm=126112173704466 Andy: please test

[PATCH-again] vgaarb: use MIT license

2010-01-12 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti tiago.vigna...@nokia.com --- Hi. All authors already decided about such change. So I'd please ask (again) that you put the s-o-b tag here. Thanks. drivers/gpu/vga/vgaarb.c | 26 +++--- include/linux/vgaarb.h | 21 + 2

[PATCH] vgaarb: fix trylock behaviour accordingly vga_tryget return value

2010-01-12 Thread Tiago Vignatti
From: Henry Zhao henry.z...@sun.com Signed-off-by: Tiago Vignatti tiago.vigna...@nokia.com --- Henry, can you Signed-off-by there? drivers/gpu/vga/vgaarb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/vga/vgaarb.c b/drivers/gpu/vga/vgaarb.c index 2f6cf69

[PATCH] vgaarb: use MIT license

2009-12-02 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti tiago.vigna...@nokia.com --- Hi. I'd please ask that other copyright holders put yours s-o-b tag there. Thanks. drivers/gpu/vga/vgaarb.c | 26 +++--- include/linux/vgaarb.h | 21 + 2 files changed, 44 insertions(+), 3

[PATCH] PCI/VGA: fix header commentary

2009-09-12 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti tiago.vigna...@nokia.com --- Amend this somewhere, Jesse. Thanks. include/linux/vgaarb.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h index e81c64a..290409c 100644 --- a/include/linux

Re: [PATCH] vga: implements VGA arbitration on Linux

2009-08-16 Thread Tiago Vignatti
17 00:00:00 2001 From: Tiago Vignatti tiago.vigna...@nokia.com Date: Sun, 16 Aug 2009 17:59:01 +0300 Subject: [PATCH] vga: drops VGA arbitration documentation Signed-off-by: Tiago Vignatti tiago.vigna...@nokia.com --- Documentation/vgaarbiter.txt | 194 ++ 1

[PATCH 4/4] xf86-video-intel: save drm FD to be used by dri cursor (the shortcut scheme).

2009-01-05 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti vigna...@c3sl.ufpr.br --- src/i830_dri.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/i830_dri.c b/src/i830_dri.c index 07ae646..e9484bd 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -108,6 +108,8 @@ typedef struct

[PATCH 2/4] X server: dricursor implementation using the X server as application.

2009-01-05 Thread Tiago Vignatti
This implementation gives two ioctls APIs (DRICursorSetDev, DRICursorHotspot) to interface with the DRM modesetting cursors. For now this patch disables the pointer acceleration scheme. Signed-off-by: Tiago Vignatti vigna...@c3sl.ufpr.br --- Makefile.am|1 + configure.ac

[PATCH 3/4] evdev: short-circuit evdev with drm to update cursors in-kernel.

2009-01-05 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti vigna...@c3sl.ufpr.br --- drivers/input/evdev.c | 11 +++ include/linux/drm_cursor.h |3 +++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 include/linux/drm_cursor.h diff --git a/drivers/input/evdev.c b/drivers/input

[PATCH 1/4] DRM: in-kernel cursor update on the top of mode setting.

2009-01-05 Thread Tiago Vignatti
will spit the events to DRM (drm_collect_input_event). DRM will take care about the event informations and also screen limits, and then will draw the cursor on screen. Signed-off-by: Tiago Vignatti vigna...@c3sl.ufpr.br --- libdrm/xf86drm.c | 20 libdrm/xf86drm.h |4

[PATCH 0/4] Cursor's update inside kernel only

2009-01-05 Thread Tiago Vignatti
-latency/ -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br -- -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https

Improving input latency

2008-07-29 Thread Tiago Vignatti
-- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK

Re: cursor handling and updates inside DRM

2008-07-25 Thread Tiago Vignatti
Stephane Marchesin escreveu: On Fri, Jul 11, 2008 at 1:12 AM, Tiago Vignatti [EMAIL PROTECTED] wrote: Yeah, but the current design in the kms (i.e. DRM touching the registers) is not good as well. The pointer is jumping a lot -- much more than the old design -- because with a single device

cursor handling and updates inside DRM

2008-07-10 Thread Tiago Vignatti
? Thank you, [0] Not so much. Seems this method to update the cursor is sending _a lot of_ ioctls and sometimes doing cursor jumps. But I have to double check to see if the problem is for sure with context switches. -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre

Re: cursor handling and updates inside DRM

2008-07-10 Thread Tiago Vignatti
Daniel Stone escreveu: On Thu, Jul 10, 2008 at 04:05:57AM -0300, Tiago Vignatti wrote: - transform relative motion into absolute - takes care the cursor limits - responsible for the acceleration computation - responsible for the input transformation as well? - touch the gfx registers

Re: cursor handling and updates inside DRM

2008-07-10 Thread Tiago Vignatti
/attachment.cgi?id=17545 This doc says that it improves the heavy-load behavior, but I'm failing to see it. Can you be more specific? -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br

Re: cursor handling and updates inside DRM

2008-07-10 Thread Tiago Vignatti
it emits a hundred of events and a lot of context switch is done. Not cool. -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br - Sponsored by: SourceForge.net Community Choice Awards

Re: drm: Branch 'modesetting-101' - 2 commits

2008-07-05 Thread Tiago Vignatti
/common/xf86str.h. Cheers, Tiago Vignatti - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential

Re: GSOC '08 hardware accelerated video decoding

2008-03-28 Thread Tiago Vignatti
proposal but watch out the 7500-character limit. Cheers, -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br - Check out the new SourceForge.net Marketplace. It's the best place to buy

Re: DRI Summer of Code ?

2008-03-03 Thread Tiago Vignatti
, that's a huge step forward. Creating a project which guides this process with a maximal chance of success is the only tricky part. Beautiful! I quoted this in Xorg wiki, if you don't mind :) -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br

Re: DRI2 committed

2008-02-21 Thread Tiago Vignatti
Dan Nicholson escreveu: On Thu, Feb 21, 2008 at 9:33 AM, Tiago Vignatti [EMAIL PROTECTED] wrote: Also, with DRI2 we have to explicit pass --disable-dri2 flag to autoconf because Xorg uses dri_sarea.h which is external to X server (from mesa). Is this good enough? Update mesa. ajax added

Re: redesigning the DRM internal logic..

2008-02-14 Thread Tiago Vignatti
? Thanks, [0] http://www.x.org/wiki/VgaArbiter Anyway, this things aren't *so* updated. I have more code here synced with the master branch of X server but currently I'm fighting with some pciaccess drivers which refuse to initialize a secondary card. Sigh. -- Tiago Vignatti C3SL

Re: DRM enhancements document

2007-08-23 Thread Tiago Vignatti
environment if the Resource Access Control (RAC) never existed on Xorg). -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br - This SF.net email is sponsored by: Splunk Inc. Still