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

Dirk De Becker Dirk.DeBecker at dzine.be
Wed Oct 8 02:00:07 PDT 2008


Hi Jordan,

Sorry to bother you again, but I'm totally new to this kind of stuff. 
Could you tell me exactly how to do this, or give me a link of where I 
can find a manual for this?

Thanks a lot for all your help, I feel that we are getting closer ;-),

Dirk

Jordan Crouse wrote:
> You can't mix and match like that - X remaps the phsyical memory into
> its own memory space - that particular address has no value expect
> for the X process.
>
> But that doesn't mean you can't access the memory region on your own -
> the easiest way to do that from user space is to figure out the address
> to map from the resource files in  /sys/bus/pci/devices/0000\:00\:01.1/
> - resource0 is the FB (no registers there), resource1 is the GP,
> resource2 is the DC and resource3 is the VP.  Then you can map that
> area yourself from /dev/mem and read the registers directly.
>
> Jordan
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dirk.DeBecker.vcf
Type: text/x-vcard
Size: 297 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-geode/attachments/20081008/50f0f802/attachment.vcf 


More information about the Xorg-driver-geode mailing list