Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-21 Thread Keith Whitwell
"Frank C. Earl" wrote: > > On Saturday 20 October 2001 10:18 pm, Daryll Strauss wrote: > > > On Sat, Oct 20, 2001 at 07:49:56PM +0200, Manuel Teira wrote: > > > OK. Thank you for the clear explanation. Now I think I'm ready to put the > > > new branch in the repository. I'm waiting for the acces

Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-21 Thread Frank C . Earl
On Saturday 20 October 2001 10:18 pm, Daryll Strauss wrote: > On Sat, Oct 20, 2001 at 07:49:56PM +0200, Manuel Teira wrote: > > OK. Thank you for the clear explanation. Now I think I'm ready to put the > > new branch in the repository. I'm waiting for the access, guys. As soon > > as I have acces

Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-20 Thread Daryll Strauss
On Sat, Oct 20, 2001 at 07:49:56PM +0200, Manuel Teira wrote: > OK. Thank you for the clear explanation. Now I think I'm ready to put the new > branch in the repository. I'm waiting for the access, guys. As soon as I have > access (if i'ts not too late here in Spain) I will proceed. Done

Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-20 Thread Manuel Teira
El Sáb 20 Oct 2001 19:16, Leif Delgass escribió: > On Sat, 20 Oct 2001, Manuel Teira wrote: > > OK. Mine is 'mteira'. So we need to tag a new branch from the trunk: > > > > cvs rtag -b mach64-0-0-2-branch > > > > Checkout it again: > > > > cvs co -b mach64-0-0-2-branch > > > > Apply our patch over

Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-20 Thread Manuel Teira
El Sáb 20 Oct 2001 18:02, Frank C. Earl escribió: > > We can work on parts of it. If you want to do the DMA part (and I won't > stop you from it- having said this, I can do that part as well...), we > ought to come up with some agreed upon code interfaces to it so that > someone else can be plug

Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-20 Thread Leif Delgass
On Sat, 20 Oct 2001, Manuel Teira wrote: > OK. Mine is 'mteira'. So we need to tag a new branch from the trunk: > > cvs rtag -b mach64-0-0-2-branch > > Checkout it again: > > cvs co -b mach64-0-0-2-branch > > Apply our patch over this checkouted branch. > > patch -p0 < here-the-patch-name > > And

Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-20 Thread Manuel Teira
El Sáb 20 Oct 2001 17:54, Leif Delgass escribió: > > I have a remaining problem. I have nowere defined AGP_APER_SIZE_MASK, so, > > I've added the definition to the atiregs.h file: > > > > AGP_APER_SIZE_MASK 0x003ful > > Yeah, that's right. Sorry, I forgot about that. As Gareth said, I th

Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-20 Thread Leif Delgass
> I have a remaining problem. I have nowere defined AGP_APER_SIZE_MASK, so, > I've added the definition to the atiregs.h file: > > AGP_APER_SIZE_MASK 0x003ful Yeah, that's right. Sorry, I forgot about that. As Gareth said, I think the card can use either 8 or 16 Megs of AGP memory. My

Re: [Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-20 Thread Manuel Teira
El Sáb 20 Oct 2001 02:39, Leif Delgass escribió: > Based on the r128 and radeon code, here's a diff for atidri.c that > initializes the AGP registers and enables bus mastering in PCI config > space (in case it wasn't done on boot). Also, I tried setting GUI_CNTL to > 0x0001 and the dma test w

[Dri-devel] Mach64: Patch to initialize AGP registers

2001-10-19 Thread Leif Delgass
Based on the r128 and radeon code, here's a diff for atidri.c that initializes the AGP registers and enables bus mastering in PCI config space (in case it wasn't done on boot). Also, I tried setting GUI_CNTL to 0x0001 and the dma test worked for me also! --- atidri.orig.c Fri Oct 19 19