Karl Rasche wrote:
> I'm interested in getting the DrawPixels path in mgapixel.c up and going
> again (but i'll make the disclaimer that I'm fairly dri naive..)
> 
> In one case, the draw happens directly from a buffer in agp land.
> Presumable this happens after various ioctls to export a buffer to the
> drawer.
> 
> What is the proper sequence to return an approprate buffer to the user?
> With DRM_IOCTL_AGP_*? Or am I way off base...

You have access to some agp memory:  the dma buffers.

The most appropriate way to do this is with a single copy from the user's data 
to a dma buffer and then fire off the blit from agp->screen.

When that's working, you can consider fancy stuff to get agp memory to the user.

Keith



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to