[Xorg-driver-geode] Get cim_gp_ptr and the like in another program

Jordan Crouse jordan.crouse at amd.com
Fri Oct 3 13:32:54 PDT 2008


On 03/10/08 14:30 -0600, Jordan Crouse wrote:
> On 03/10/08 16:06 +0200, Dirk De Becker wrote:
> > Hi all,
> > 
> > I would like to be able to use cim_gp_ptr, cim_vg_ptr, cim_vid_ptr, 
> > cim_fb_ptr and cim_vip_ptr in another program (module).
> > Can someone give me a clue on how to do this?
> > I printed them in lx_driver, but I see that the addresses are different 
> > each time I run X, so it does not make sense to just copy the adress 
> > dumps in my module.
> 
> You mean you want to use them in another X module?  You should be able to
> use them directly, they are not declared as static or anything.

Actually, we would probably need to declare them with _X_EXPORT, but still,
not a big deal.

Jordan

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.



More information about the Xorg-driver-geode mailing list