[PATCH] Fix drm vblank / irq in master

2008-07-25 Thread Robert Noland
The changes that we discussed on irc are turning out to be slightly more difficult than I expected... In the meantime, I'd like to push this to master to get things more or less working again. One thing I discovered was that, at least on bsd, the signal handler gets installed / uninstalled pretty

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

Re: X "Hangs" with RS690 + 2.6.26

2008-07-25 Thread Nicolai Hähnle
Am Freitag 25 Juli 2008 12:12:59 schrieb Jerome Glisse: > This looks like usual engine lockup followed by CP lockup so > that DMA buffer age never get written and we run out of DMA > buffer thus freelist failing in infinite loop. > > I think we now know all the reason why we lockup, while a > fix c

Re: [PATCH] DRM fixed compilation errors and warnings for 2.6.26

2008-07-25 Thread nagaraj s k
Hello All, Sorry for the delay in sending the updated patch.I appreciate your time to review and comment on the same. Fixed the conditional operator and its logic for checking the allocation of memory , white space between the pointers and cleaned up few warnings. Signed-off-by : Nagaraj SK <[

Re: X "Hangs" with RS690 + 2.6.26

2008-07-25 Thread Jerome Glisse
On Fri, 25 Jul 2008 10:43:34 +0100 Jonathan McDowell <[EMAIL PROTECTED]> wrote: > Hi. > > I've started to see "hangs" with X on an ATI RS690 with a 2.6.26 kernel. > The symptoms are that load average goes up, X stops accepting keypresses > or mouse clicks, but the cursor still moves around the sc

Re: X "Hangs" with RS690 + 2.6.26

2008-07-25 Thread Dave Airlie
> I've started to see "hangs" with X on an ATI RS690 with a 2.6.26 kernel. > The symptoms are that load average goes up, X stops accepting keypresses > or mouse clicks, but the cursor still moves around the screen in > response to the mouse being moved. I can't switch to a VT but can ssh in > remo

Re: Texture compression patents

2008-07-25 Thread Philipp Klaus Krause
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ian Romanick schrieb: > 2. Decompressing textures for software fallbacks. As far as I'm aware, > all of the drivers still have some software fallbacks, so this support > is still required. > This decompression could be done by the hardware: Ortho p

X "Hangs" with RS690 + 2.6.26

2008-07-25 Thread Jonathan McDowell
Hi. I've started to see "hangs" with X on an ATI RS690 with a 2.6.26 kernel. The symptoms are that load average goes up, X stops accepting keypresses or mouse clicks, but the cursor still moves around the screen in response to the mouse being moved. I can't switch to a VT but can ssh in remotely t

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

2008-07-25 Thread Dave Airlie
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 interrupts when grabbing its > spinlock. > > Don't allow these locking functions to re-enable interrupts when > the tasklet expe

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

2008-07-25 Thread Jiri Slaby
drm_lock_take(); and drm_lock_free(); are called from drm_locked_tasklet_func(); which disables interrupts when grabbing its spinlock. Don't allow these locking functions to re-enable interrupts when the tasklet expects them disabled. I.e. use spin_lock_irqsave instead of spin_lock_bh (with their