braindead radeon.h

Michael Lorenz macallan at netbsd.org
Wed Jul 5 10:01:01 PDT 2006


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

Hello,

I just found that the radeon driver in xorg 7.0 ignores the MMIO BAR's 
actual size and always tries to mmap 0x80000 bytes ( a value #defined 
in radeon.h ) - even with chips that have only 0x10000 there like my 
M9+.
This fails on operating systems that actually pay attention what users 
can mmap - like NetBSD when using ttyE* and probably anything using 
/dev/xf86 - which allows to mmap only resources that actually belong to 
the graphics chip.
Has this been fixed in a later release?

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRKvwTspnzkX8Yg2nAQIIAQgAiTaG1kkw2Hj0JYJCtxDtWxbBt2qRCtY3
kQzf809qI/HDXD+Gmm47eLiqGo+JJuWCz1wQd0mRRG+NZ5DmWFQDbw7DjpTYHCMF
XZDm9RBVIu3cKfCN6YXp/7cwwAlfYuijCCU+cx/6X6BNlaj5Dw94MgMIlG95SdlT
Wg+3+ZkQW8Aj7WdxxGpaCqYInmv6pj+dItmc8Np+Y4zUPf/b73eNmqDekiaXi4qG
Ud5j6Q6JGB3U0oYMWKmTY7X6C3bh1rVQC8KlG6Bv7rhfEdkPT6LB9tEiJztLgNEP
FYeVc2qQKGRHlrKz03LFRRzFG/UnjV/LwlftigeT99iNycs0Oix5HQ==
=16Sf
-----END PGP SIGNATURE-----




More information about the xorg mailing list