Keith Whitwell wrote:
It's a little tricky - I guess you'll need some way of informing the kernel which way it is supposed to calculate crtc1_base, either by a new call to the SET_PARAMETER ioctl, or via the ABI version setting interface. I don't have a good understanding of the latter, the former sounds like an easy option, just ensure that there is a root-only check on that parameter.

Keith

Couldn't you add some flag to the drm radeon init ioctl ? It has no flag field unfortunately, but I figured you can just put 16 bit worth of flags to for instance the front_pitch variable, since the upper 16 bits are all zero anyway. Though you'd need to check the radeon drm version before doing that. (That's at least what I'm doing for now for initializing with color tiling enabled, it IS a hack but there didn't seem to be an easy clean solution.). That SET_PARAMETER ioctl sounds promising though, never heard of it before ;-).


Roland


------------------------------------------------------- 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 Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to