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

[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

[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. running

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

[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

[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

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

[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

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

2001-12-09 Thread Dieter Ntzel
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 seem to

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

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 mode

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 :