Port-alpha archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xorg for alpha



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jan 13, 2009, at 6:19 PM, Manuel Bouyer wrote:

On Tue, Jan 13, 2009 at 03:10:34PM +0100, Manuel Bouyer wrote:
[...]
With a TGA 3d30 adapter, the server just do nothing, and the gray X11 screnn doesn't appear. The tga driver prints suspicious values to the xorg log (all 0xff) which I assumes it gets from the adapter's registers, so it's possible reading adapter registers don't always works the way it should.

playing more with the MGA driver and enabling debug, I can confirm
that xf86ReadMmio8 always return 0xff. So it looks like the memory mapped
by xf86 isn't in the card's registers or memory. indeed it's using a
strange value:
(II) memory base = 0xa7a486b7525203d

Any idea still welcome ...

(II) memory base = 0x2074657366666f20
(II) memory base = 0x2074657366666f20

These look bogus too.
I don't think Xorg's alpha-specific PCI support code works right on NetBSD - I think you should do as sparc64 and the powerpc ports do - use netbsdPci.c / ppc_video.c and mmap PCI resources through /dev/ ttyE0 at offset == bus address. Much less hassle. If you need PIO access define PCI_MAGIC_IO_RANGE to something never used by PCI memory resources, the necessary voodoo is already in place in vga_pci.c. This of course assumes that alpha, like sparc and powerpc, accesses PCI IO space through some special memory range. If that's not the case please ignore the bit about PCI_MAGIC_IO_RANGE.
For mga you won't need PIO anyway.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSW1xN8pnzkX8Yg2nAQKsVQf9H8t+DNVRg5G0vgQGqXgAg+y9svK3UG6Z
jVDxGab3p/6tNPe5qUoMuoVkHaaL7cbPUQs5tRD9pHGldMcv1/MVKjLQKCZs0xQv
uPSDxh/nYLsfb+OK9UKZy6jNYekvTwGC8YRQicoee10gj5DHqyIkrtmoIxWHCybi
sh7pCCG6fxkYJz40e9STqgISYpCNMqB1W+wmLCI8aKgeYlY5fFYmyT94xFuW7S3i
MlNn9tURKQoNnrza16TalPRhBo0jeeYpK6GSozPH3EO41RuCs/Ntu5je37CX5Wy2
ox7kIXoCyvlgAK6/wt1j/10KtgpcwS4O6q6d/8ljNTCh2TyHAOI6zg==
=1hZc
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index