[Dri-devel] Re: patch for testgart.c

2001-12-09 Thread Nicolas Aspert
Philip Brown wrote: > Hi, > > I'm in the process of writing an agpgart driver for a non-linux system. > Someone pointed me to your testgart.c file. > Thank you very much for writing it. > I enclose a patch to make the source a bit more portable. > Hello Thanks for the patch. I have not looked

Re: [Dri-devel] Re: prog for /dev/agpart

2001-12-09 Thread Derrik Pates
On Sun, 9 Dec 2001, Philip Brown wrote: > Well, unfortunately, the driver isnt THAT far along :-) > I'm also using that test program you gave me, as a bit more documentation > as to how agpgart is used. I havent come across a document that describes, > "This is how you use /dev/agpgart at the use

Re: [Dri-devel] Re: prog for /dev/agpart

2001-12-09 Thread volodya
On Sun, 9 Dec 2001, Philip Brown wrote: > On Sun, Dec 09, 2001 at 11:29:53PM +0100, Dieter Nützel wrote: > > ... > > Have you checked that your AGP module is correctly loaded ? > > If so, I suggest that you compile and run (as root, and before running X) the > > C program located at : > > http:

Re: [Dri-devel] Re: prog for /dev/agpart

2001-12-09 Thread Philip Brown
On Sun, Dec 09, 2001 at 10:00:07PM -0700, Derrik Pates wrote: > ... > Well, I don't think that anyone developing AGP GART support thought a lot > about that - usually, apps aren't going to be talking directly to the AGP > GART, but via some sort of abstraction layer, like DRI. Which, from what I >

Re: [Dri-devel] Re: prog for /dev/agpart

2001-12-09 Thread Philip Brown
On Sun, Dec 09, 2001 at 11:29:53PM +0100, Dieter Nützel wrote: > ... > Have you checked that your AGP module is correctly loaded ? > If so, I suggest that you compile and run (as root, and before running X) the > C program located at : > http://ltswww.epfl.ch/~aspert/patches/testgart.c > > Send t

RE: [Dri-devel] Radeon QD PCI (Solved)

2001-12-09 Thread Michel Dänzer
On Fri, 2001-12-07 at 19:02, Bow-Yaw Wang wrote: > > > 2. I notice that both r128 and radeon do not make > > >a map for texture in PCI/PCIGART mode. Is it ok? I guess texturing via the PCI bus wouldn't be much of a performance gain, if any, so it makes sense. > In addition, although 32-bit

[Dri-devel] Re: dri trouble

2001-12-09 Thread Michel Dänzer
On Sun, 2001-12-09 at 18:09, Peter Surda wrote: > On Sun, Dec 09, 2001 at 04:24:00PM +0100, Michel Dänzer wrote: > > > Syslog still complains CONTINUOSLY though, but I think that isn't so important > > > now. > > While others have reported the same errors, I haven't seen them here. Do > > they alw

[Dri-devel] Re: prog for /dev/agpart: 2nd try

2001-12-09 Thread Dieter Nützel
Am Sonntag, 9. Dezember 2001 22:01 schrieben Sie: > Sorry if this is a duplicate: It's been 8 hours or more, and I havent seen > a copy of my email to the list. > > I'm looking to write a driver that implements /dev/agpgart, as a first step > towards doing a full DRI port. > > Trouble is, I cant s

[Dri-devel] prog for /dev/agpart: 2nd try

2001-12-09 Thread Philip Brown
Sorry if this is a duplicate: It's been 8 hours or more, and I havent seen a copy of my email to the list. I'm looking to write a driver that implements /dev/agpgart, as a first step towards doing a full DRI port. Trouble is, I cant seem to find anything that USES the device any more. In Xfree 3

[Dri-devel] DRM programming help

2001-12-09 Thread volodya
Hi, I am the maintainer of V4L capture module for All-in-Wonder cards. I need some help figuring out how to interface with drm. The problem: the module works fine, except that (at least Radeons) want physical memory from AGP addressable range. So I can either write my own memory allocation ro

[Dri-devel] Re: dri trouble

2001-12-09 Thread volodya
> > > > And DRM gets it from agpgart, right ? > > For AGP GART, yes. PCI GART it does on its own. Thanks, that's what I needed to know. One last question - would you know whether Radeon AGP has a restriction of not being able to DMA into non-AGP memory ? I am providing a table with physical a

[Dri-devel] Re: dri trouble

2001-12-09 Thread Michel Dänzer
On Sun, 2001-12-09 at 18:41, [EMAIL PROTECTED] wrote: > > > On 9 Dec 2001, Michel [ISO-8859-1] Dänzer wrote: > > > On Sun, 2001-12-09 at 17:32, [EMAIL PROTECTED] wrote: > > > > > On a different topic - Michel, do you know how DRI gets it's DMA able > > > memory, from agpgart or not ? - Thanks

[Dri-devel] Re: dri trouble

2001-12-09 Thread volodya
On 9 Dec 2001, Michel [ISO-8859-1] Dänzer wrote: > On Sun, 2001-12-09 at 17:32, [EMAIL PROTECTED] wrote: > > > On a different topic - Michel, do you know how DRI gets it's DMA able > > memory, from agpgart or not ? - Thanks ! > > >From the DRM. It can use both AGP and PCI GART but that's not

[Dri-devel] Re: dri trouble

2001-12-09 Thread Michel Dänzer
On Sun, 2001-12-09 at 17:32, [EMAIL PROTECTED] wrote: > On a different topic - Michel, do you know how DRI gets it's DMA able > memory, from agpgart or not ? - Thanks ! >From the DRM. It can use both AGP and PCI GART but that's not transparent at the DRM level. -- Earthling Michel Dänzer (MrC

Re: [Dri-devel] program that uses /dev/agpgart?

2001-12-09 Thread Nicolas Aspert
Hello Have you checked that your AGP module is correctly loaded ? If so, I suggest that you compile and run (as root, and before running X) the C program located at : http://ltswww.epfl.ch/~aspert/patches/testgart.c Send the output of the program to the list... Best regards Nicolas. Philip Br

[Dri-devel] Re: dri trouble

2001-12-09 Thread Peter Surda
On Sun, Dec 09, 2001 at 04:24:00PM +0100, Michel Dänzer wrote: > > Syslog still complains CONTINUOSLY though, but I think that isn't so important > > now. > While others have reported the same errors, I haven't seen them here. Do > they always appear, or only under certain circumstances, e.g. runn

[Dri-devel] Re: [Xpert]dri trouble

2001-12-09 Thread volodya
On Sun, 9 Dec 2001, Peter Surda wrote: > On Sun, Dec 09, 2001 at 04:07:27AM +0100, Michel Dänzer wrote: > > On Sun, 2001-12-09 at 03:49, Peter Surda wrote: > > > - there are minor display distortions (parts of screen remain black, basically > > > the kde splash screen is completely fscked, bu

[Dri-devel] Re: dri trouble

2001-12-09 Thread Michel Dänzer
On Sun, 2001-12-09 at 13:47, Peter Surda wrote: > On Sun, Dec 09, 2001 at 04:07:27AM +0100, Michel Dänzer wrote: > > On Sun, 2001-12-09 at 03:49, Peter Surda wrote: > > > - there are minor display distortions (parts of screen remain black, basically > > > the kde splash screen is completely fsck

[Dri-devel] Re: [Xpert]dri trouble

2001-12-09 Thread Peter Surda
On Sun, Dec 09, 2001 at 04:07:27AM +0100, Michel Dänzer wrote: > On Sun, 2001-12-09 at 03:49, Peter Surda wrote: > > - there are minor display distortions (parts of screen remain black, basically > > the kde splash screen is completely fscked, but it sorts out later). > Does the R128BlockHandler

[Dri-devel] program that uses /dev/agpgart?

2001-12-09 Thread Philip Brown
Hi folks, I'm back in my mission to slowly add DRI support for my platform. I'd like to start by just getting a basic /dev/agpgart working. It SEEMS like a "simple" tast. Trouble is, I cant find anything that will USE it. Xfree3.3.6 does not seem to use it at all. Xfree.4.1.0 has SOME code that r

[Dri-devel] DMA failure to pages w/ addr under 64meg

2001-12-09 Thread volodya
What could cause a DMA transfer to a page with physical address below 64mb to fail ? Context: I am using rvmalloc code from bt848 driver in video capture module (km, http://www.sf.net/projects/gatos). The device that does the transfer is Radeon AIW AGP, transfer from device to main memory. Al