[Xorg-driver-geode] AMD Geode on Freebsd UPDATE: (oops I was wrong)

Jordan Crouse jordan.crouse at amd.com
Thu Dec 20 08:55:11 PST 2007


On 20/12/07 02:42 -0800, Larry Maloney wrote:
> Sorry, I was wrong.
>
> The driver loads, I get an X back ground and the X cursor, but the session 
> is frozen.  I can't load any graphic applications inside X.

That is most likely because the GPU is stuck in an infinite loop.
Easy way to check is to add option "NoAccel" "true" to the card 
section in your xorg.conf.

If that is the case, then the problem is probably in the MSR code,
which I feared might give us problems in BSD.

put copious ErrorF messages through the LXReadMSR and LXWriteMSR
functions - the GeodeReadMSR and LXWRiteMSR functions should return
error on your machine (since BSD doesn't have /dev/cpu/0/msr),
but the LX_MSR_READ and LX_MSR_WRITE functions should work.  One thing
to check is to make sure that the inline assembly is correct and
that you have I/O permission in BSD (you should, but you never know).

if there is a sane way to read MSRs without the VSA I/O on BSD, then
lets put that into the GeodeReadMSR and GeodeWriteMSR functions bounded
the appropriate #ifdefs, which is the more correct solution (as you can
tell, I know nothing of the internal workings of BSD).

The problem _might_ be somewhere else, but to be honest with you, every
time this failure case has come up, then this has been the problem.

Jordan




More information about the Xorg-driver-geode mailing list