Hi, I need some help with _DRM_CONSISTENT maps. They worked fine with the AGP cards I've been testing so far. This weekend I added PCI support to the Savage driver and found out that with PCI cards the _DRM_CONSISTENT maps don't work. Either the status page is mapped somehow incorrectly, so that the Xserver doesn't see hardware status updates. Or the Xserver is killed and I see a message in the kernel log:
VM: killing process Xorg I've narrowed it down using an AGP card a little. I disabled AGP textures and AGP DMA buffers. Then I removed the call to drmAgpBind in the Xserver and it still worked. The map stopped working when I also omitted the call to drmAgpAlloc. The other thing I checked is that it does not make a difference whether I use drm_pci_alloc or drm_alloc_pages to allocate the pages. I know it must be possible to reliably map consistent pages into user processes. I think I just need to get the vm_operations in drm_vm.c right for these maps. But I have no clue how to do this. I'd be grateful for any comments that get me on the right track. Thanks, Felix -- | Felix K�hling <[EMAIL PROTECTED]> http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
