Re: [Dri-devel] mga-stereo-patch

2002-09-25 Thread Keith Whitwell
Michel Dänzer wrote: On Mit, 2002-09-25 at 04:17, Michel Dänzer wrote: On Mit, 2002-09-25 at 03:52, Eric Anholt wrote: On Tue, 2002-09-24 at 17:08, Michel Dänzer wrote: BTW I'm just experiencing IRQ timeouts as well. In fact, no interrupts occur at all, and the RADEON_GEN_INT_STATUS register

Re: [Dri-devel] mga-stereo-patch

2002-09-25 Thread Michel Dänzer
On Mit, 2002-09-25 at 04:17, Michel Dänzer wrote: On Mit, 2002-09-25 at 03:52, Eric Anholt wrote: On Tue, 2002-09-24 at 17:08, Michel Dänzer wrote: BTW I'm just experiencing IRQ timeouts as well. In fact, no interrupts occur at all, and the RADEON_GEN_INT_STATUS register seems to

Re: [Dri-devel] mga-stereo-patch

2002-09-24 Thread Eric Anholt
On Mon, 2002-09-23 at 09:00, Michel Dänzer wrote: I've incorporated this and turned it into a template: http://penguinppc.org/~daenzer/DRI/drm-vblank-template.diff I've put a new one up at http://people.freebsd.org/~anholt/dri/files/framethrottle2.diff which includes MGA support. I'll work

Re: [Dri-devel] mga-stereo-patch

2002-09-24 Thread Michel Dänzer
On Die, 2002-09-24 at 10:08, Eric Anholt wrote: On Mon, 2002-09-23 at 09:00, Michel Dänzer wrote: I've incorporated this and turned it into a template: http://penguinppc.org/~daenzer/DRI/drm-vblank-template.diff I've put a new one up at

Re: [Dri-devel] mga-stereo-patch

2002-09-24 Thread Eric Anholt
On Tue, 2002-09-24 at 17:08, Michel Dänzer wrote: On Die, 2002-09-24 at 10:08, Eric Anholt wrote: On Mon, 2002-09-23 at 09:00, Michel Dänzer wrote: I've incorporated this and turned it into a template: http://penguinppc.org/~daenzer/DRI/drm-vblank-template.diff I've put a

Re: [Dri-devel] mga-stereo-patch

2002-09-24 Thread Michel Dänzer
On Mit, 2002-09-25 at 03:52, Eric Anholt wrote: On Tue, 2002-09-24 at 17:08, Michel Dänzer wrote: BTW is there any reason why the mga stuff can't move to the shared DRM directory? Which mga stuff? MGA is shared about as much as the other drivers. Hmm, I think I confused mga and gamma

Re: [Dri-devel] mga-stereo-patch

2002-09-23 Thread Keith Whitwell
Eric Anholt wrote: On Sat, 2002-09-21 at 07:21, Michel Dänzer wrote: On Fre, 2002-09-20 at 17:30, Andreas Stenglein wrote: I tried to port Andreas Ehliar's mga-stereo-patch (http://www.lysator.liu.se/~ehliar/3d/) to current DRI-CVS. I think its almost done, but now the big problem for me

Re: [Dri-devel] mga-stereo-patch

2002-09-23 Thread Linus Torvalds
On Mon, 23 Sep 2002, Keith Whitwell wrote: This is an open question for me. Does linux require an irq bh just to do a wake_up_interruptible? Could/should we do something equivalent from the tophalf? You can do pretty much anything from an interrupt context, as long as you don't sleep or

Re: [Dri-devel] mga-stereo-patch

2002-09-23 Thread Michel Dänzer
On Mon, 2002-09-23 at 12:31, Keith Whitwell wrote: Eric Anholt wrote: On Sat, 2002-09-21 at 07:21, Michel Dänzer wrote: http://penguinppc.org/~daenzer/DRI/radeon-vblank.diff Let me know what you think about the interface in that patch, would be great if we could make this a template.

Re: [Dri-devel] mga-stereo-patch

2002-09-23 Thread Michel Dänzer
On Mon, 2002-09-23 at 18:30, Keith Whitwell wrote: One worry I have with the radeon_irq.c code at the moment is the proliferation of ifdef's for linux vs. freebsd code. I'd like to see this get cleaned up -- if nothing else it's ugly... It's not quite as bad with this patch,

Re: [Dri-devel] mga-stereo-patch

2002-09-22 Thread Eric Anholt
On Sat, 2002-09-21 at 07:21, Michel Dänzer wrote: On Fre, 2002-09-20 at 17:30, Andreas Stenglein wrote: I tried to port Andreas Ehliar's mga-stereo-patch (http://www.lysator.liu.se/~ehliar/3d/) to current DRI-CVS. I think its almost done, but now the big problem for me (as a

Re: [Dri-devel] mga-stereo-patch

2002-09-21 Thread Michel Dänzer
On Fre, 2002-09-20 at 17:30, Andreas Stenglein wrote: I tried to port Andreas Ehliar's mga-stereo-patch (http://www.lysator.liu.se/~ehliar/3d/) to current DRI-CVS. I think its almost done, but now the big problem for me (as a non-dri-developer) is to get the vblank-irq and the

[Dri-devel] mga-stereo-patch

2002-09-20 Thread Andreas Stenglein
I tried to port Andreas Ehliar's mga-stereo-patch (http://www.lysator.liu.se/~ehliar/3d/) to current DRI-CVS. I think its almost done, but now the big problem for me (as a non-dri-developer) is to get the vblank-irq and the pageflipping working without locking up the machine. (file mga_dma.c)