userspace testing an ati fb driver

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Dec 7 12:21:30 EST 2003


On Fri, 2003-12-05 at 23:07, David Eger wrote:
> 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.

> Radeon MMIO registers:
> 0000 : 0000c081
> 0004 : 00313131
> 0008 : 3f000000
> ...
>
> output from your reg dump:
>
> Radeon MMIO registers:
> 0000 : 81c00000
> 0004 : 31313100
> 0008 : 0000003f
> ...

--
Benjamin Herrenschmidt <benh at kernel.crashing.org>

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





More information about the Linuxppc-dev mailing list