I'm still trying to figure out how to get the framebuffer address using
the drm gem code.
I think I need to:
drmAddMap(...., address of framebuffer) - gets handle
drmMap(... handle)
drmModeAddFB(... handle...)
Then I can get the frame buffer id to use in my drmModeSetCrtc() calls...
Can someone confirm I'm on the right track?
The modesetting-101 branch had calls to drmBOCreate() which seemed to do
the right thing
But them my problem is how to get the framebuffer address in a generic
(no chip specific way). I can see ioctls for radeon which return the
framebuffer address, but not i915 family (which is what I'm using). Do I
need to add the equivalent radeon call to the i915 driver?
How is it done in X. Is it all chip specific?
Thanks
Paul Winder
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel