linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: userspace testing an ati fb driver
@ 2003-12-05 12:07 David Eger
  2003-12-07  1:21 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: David Eger @ 2003-12-05 12:07 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* userspace testing an ati fb driver
@ 2003-12-03  9:44 random
  2003-12-04  0:06 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: random @ 2003-12-03  9:44 UTC (permalink / raw)
  To: linuxppc-dev


On my Powerbook, /proc/iomem lists 0xb0000000-0xb000ffff as the location
of the programming registers for my ATI Radeon R250 Lf.

This seems to be the same spot XFree86 finds in its log:
(II) RADEON(0): MMIO registers at 0xb0000000

I've been trying to mimic the XFree86 fb accel code to make a Linux 2.6 fb
port, but i've had little luck. To try to pare down the new code, I've
written a userspace program which will open "/dev/mem" and then mmap in
this file starting at '0xb0000000' going for 0x10000 bytes.  Poking at the
"registers" there seems to have no effect; reading from these "registers"
(for example, to verify the engine idling) indicates that I'm perhaps
reading from the wrong place in memory, i.e. the engine never indicates
that it's idle.  Any ideas?

-eger david

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-07  1:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-05 12:07 userspace testing an ati fb driver David Eger
2003-12-07  1:21 ` Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2003-12-03  9:44 random
2003-12-04  0:06 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).