On Thursday 01 September 2005 23:16, Michel D=C3=A4nzer wrote: > On Thu, 2005-09-01 at 11:35 +0200, Lars Knoll wrote: > > Even if the card doesn't have scatter/gather support, drm allows you to > > allocate a piece of consistent physical ram, and mmap it in the server. > > The handle you get is the physical address, so you should be able to use > > that to implement PCI dma transfers. > > Are you sure about that, in particular on a 64 bit system? The handle > may coincide with the physical address in a lot of cases, but I didn't > think that was guaranteed. It's probably not guaranteed, but according to what I could see in the drm= =20 code that's what it is (also on 64 bit systems, the handle is a ulong). Lot= s=20 of the drm code is still a mystery to me. To program the HW I need physical= =20 addresses, but I don't really see how to get them. The only exception is=20 memory that is bound into the GART. Lars