On Sat, 16 Oct 2004 02:46:27 +0200, Felix K�hling <[EMAIL PROTECTED]> wrote:
> The attached patch adds a new mapping type _DRM_CONSISTENT. It works
> basically like shared memory but allocates consistent memory and returns
> the physical address to user space as handle. I wouldn't be surprised if
> I missed something, but it works for me. I'm typing this in an X session
> with the Savage 2D driver with shadow status, where the status page is a
> _DRM_CONSISTENT mapping.
> 
> Best regards,
>   Felix
> 
> P.S.: The patch for Xorg is basically a one-liner (for completeness):
> 
> --- programs/Xserver/hw/xfree86/os-support/xf86drm.h.~1.3.~
> 2004-06-16 11:39:14.000000000 +0200
> +++ programs/Xserver/hw/xfree86/os-support/xf86drm.h    2004-10-16
> 02:00:35.000000000 +0200
> @@ -104,7 +104,8 @@
>      DRM_REGISTERS       = 1,      /**< no caching, no core dump */
>      DRM_SHM             = 2,      /**< shared, cached */
>      DRM_AGP             = 3,     /**< AGP/GART */
> -    DRM_SCATTER_GATHER  = 4      /**< PCI scatter/gather */
> +    DRM_SCATTER_GATHER  = 4,     /**< PCI scatter/gather */
> +    DRM_CONSISTENT      = 5      /**< PCI consistent */
>  } drmMapType;
> 

Isn't xf86drm.h supposed to live in drm/libdrm? Or has that been converted yet?

-- 
Jon Smirl
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to