Skip to contentSkip to conversation

userspace testing an ati fb driver

DISCUSSION David Eger 2 participants 2 messages Dec 5, 2003 – Dec 7, 2003

lore
Share & tools
lore

David Eger

author
#0 lore raw

I think this explains my problem; output from my reg dump:

Radeon MMIO registers:
0000 : 0000c081
0004 : 00313131
0008 : 3f000000
...

output from your reg dump:

Radeon MMIO registers:
0000 : 81c00000
0004 : 31313100
0008 : 0000003f
...

thanks a bunch.

-david

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 1 line · David Eger

I think this explains my problem; output from my reg dump:

Are you properly endian-flipping register accesses ? My access macro use the lwbrx/stwbrx instructions that to the endian flipping automatically.

Quoted 6 lines

Radeon MMIO registers:
0000 : 0000c081
0004 : 00313131
0008 : 3f000000
...

Quoted 7 lines

output from your reg dump:

Radeon MMIO registers:
0000 : 81c00000
0004 : 31313100
0008 : 0000003f
...

--
Benjamin Herrenschmidt <[email protected]>

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/