Subject: Re: Re: DRM for radeon ?
To: Michael Lorenz <macallan@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: port-macppc
Date: 05/06/2007 01:09:21
--Qrgsu6vtpU/OV/zm
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 05 2007 - 18:31, Michael Lorenz wrote:
> >
> > The console looks good until I see some RADEON related text (in light-g=
reen
> > over white). According to my LCD, the resolution is 1024x768@60Hz.
>=20
>  Hmm, looks like the fb is 32bit but the console driver still thinks it's=
 8=20
>  bit? Did you try a -current kernel?
>=20

I've just tried a NetBSD 4.99.19 and the console is OK.
http://www.tumfatig.net/dmesg/Mac%20Mini/NetBSD%204.99.19/dmesg.txt

> > So first, how can I get a decent console ?
>=20
>  try radeonfb.c from -current
>=20

It does not compile:
#   compile  MACMINI/radeonfb.o
cc -mno-strict-align -msoft-float -Wa,-maltivec -ffreestanding -fno-zero-in=
itialized-in-bss -pipe -Wreturn-type -Werror -Wall -Wno-main -Wno-format-ze=
ro-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch=
 -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -=
Wno-attributes -fno-strict-aliasing -Dmacppc=3Dmacppc -I. -I../../../../con=
trib/dev/ath/netbsd -I../../../../../common/include -I../../../../arch -I..=
/../../.. -nostdinc -DLKM -DZS_CONSOLE_ABORT -DRADEONFB_MMAP_BARS -DMAXUSER=
S=3D32 -D_KERNEL -D_KERNEL_OPT -I../../../../lib/libkern/../../../common/li=
b/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string -I../=
=2E./../../lib/libkern/../../../common/lib/libc/arch/powerpc/string -I../..=
/../../dist/ipf -c ../../../../dev/pci/radeonfb.c
cc1: warnings being treated as errors
=2E./../../../dev/pci/radeonfb.c:225: warning: initialization from incompat=
ible pointer type
*** Error code 1

> > Then, is the DRM radeon driver
> > (http://mail-index.netbsd.org/tech-x11/2007/03/19/0000.html) known to w=
ork=20
> > ?
>=20
>  No. Too many i386-specific assumptions in the code, it doesn't even work=
=20
>  right on amd64.
>=20

OK, so there's no point in replacing XFree86 with xorg or modular-xorg on
this hardware, right ?

Regards,
	Jo

--Qrgsu6vtpU/OV/zm
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFGPQ6h0/VH7L7F7Y4RAlakAJ9Gw3zuFk061qf5GoldxmppriUougCfYfid
MITH0//8AymFHc4fdlBusxk=
=MtNn
-----END PGP SIGNATURE-----

--Qrgsu6vtpU/OV/zm--