Improving input latency

2008-07-29 Thread Tiago Vignatti
Hi, I posted this summary on my blog but I'll send it here as well. The feedback that I receive in mailing lists is usually better than in blog :) Thank you, Tiago = Improving input latency = GSoC summary #1 - July 29 The current implementation of X Window System relies in a signal scheme

Re: Replace nopfn by fault

2008-07-29 Thread Johannes Engel
Tomas Carnecky wrote: Wow, there are a lot ifdefs in the code. Exactly what I was thinking when I saw the patch. ;) But I was too lazy to think for a solution. Thanks for doing that for me. :) Here comes the result. Cheers, Johannes >From 36daa6eccb466164da7538ad7dd7d540ec0eb6b9 Mon Sep 17 00:

Re: Replace nopfn by fault

2008-07-29 Thread Tomas Carnecky
Johannes Engel wrote: > Thomas Hellström wrote: >> Johannes, >> >> If the patch works, it looks correct to me. >> However, you need to make sure (using defines) that the code will >> compile also on kernels that don't have the .fault method. >> >> /Thomas > Hi Thomas, > > thanks for reviewing and

Re: Replace nopfn by fault

2008-07-29 Thread Johannes Engel
Thomas Hellström wrote: Johannes, If the patch works, it looks correct to me. However, you need to make sure (using defines) that the code will compile also on kernels that don't have the .fault method. /Thomas Hi Thomas, thanks for reviewing and suggesting. :) I created a new variable DRM_

Re: Replace nopfn by fault

2008-07-29 Thread Thomas Hellström
Johannes, Johannes Engel wrote: > Hi, folks, > > as Ross mentioned four days ago, nopfn has gone from the kernel tree. > Therefore we need to adapt drm_vm.c to use fault instead. > What do you think about the attached patch? > > Cheers, Johannes > -

Replace nopfn by fault

2008-07-29 Thread Johannes Engel
Hi, folks, as Ross mentioned four days ago, nopfn has gone from the kernel tree. Therefore we need to adapt drm_vm.c to use fault instead. What do you think about the attached patch? Cheers, Johannes >From ba506005a6e7f7beaaedad7919eebf44b6e6db5b Mon Sep 17 00:00:00 2001 From: Johannes Engel <

Re: [PATCH 1/1 repost #1] DRM: don't enable irqs in locking

2008-07-29 Thread Dave Airlie
On Tue, Jul 29, 2008 at 5:31 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Mon, 28 Jul 2008 22:32:45 +0200 Thomas Hellstr__m <[EMAIL PROTECTED]> > wrote: > >> Dave Airlie wrote: >> > On Fri, Jul 25, 2008 at 6:42 PM, Jiri Slaby <[EMAIL PROTECTED]> wrote: >> > >> >> drm_lock_take(); and drm_lock

Re: [PATCH 1/1 repost #1] DRM: don't enable irqs in locking

2008-07-29 Thread Andrew Morton
On Mon, 28 Jul 2008 22:32:45 +0200 Thomas Hellstr__m <[EMAIL PROTECTED]> wrote: > Dave Airlie wrote: > > On Fri, Jul 25, 2008 at 6:42 PM, Jiri Slaby <[EMAIL PROTECTED]> wrote: > > > >> drm_lock_take(); and drm_lock_free(); are called from > >> drm_locked_tasklet_func(); which disables interrupt