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

2002-09-25 Thread Michel Dänzer
On Mit, 2002-09-25 at 19:34, Keith Whitwell wrote: > 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

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 s

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_

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 a

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 > >

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 > http://people.freebsd.org/~anholt/d

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 wo

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 wi

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

2002-09-23 Thread Keith Whitwell
> >>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, still we might want to define > DRM_WAKEUP or simila

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 th

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 o

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 b

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 > >

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 pa