Radeon HD
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1998 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1997 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1996 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1995 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1994 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1993 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1992 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1991 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1990 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1989 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1988 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1987 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1986 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1985 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1984 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1983 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1982 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1981 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1980 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1979 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1978 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1977 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1976 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1975 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1974 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1973 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1972 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1971 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1970 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1969 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1968 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1967 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1966 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1965 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1964 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1963 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1962 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1961 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1960 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1959 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1958 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1957 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1956 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1955 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1954 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1953 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1952 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1951 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1950 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1949 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1948 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1947 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1946 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1945 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1944 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1943 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1942 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1941 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1940 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1939 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1938 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1937 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1936 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1935 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1934 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1933 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1932 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1931 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1930 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1929 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1928 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1927 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1926 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1925 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1924 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1923 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1922 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1921 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1920 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1919 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1918 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1917 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1916 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1915 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1914 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1913 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1912 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1911 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1910 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1909 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1908 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1907 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1906 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1905 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1904 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1903 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1902 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1901 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1900 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1899 -----
- December
August 2009
- 43 participants
- 166 discussions
Heho,
if you have one of the mentioned chipsets (and are willing to
experiment, and/or have issues with radeonhd), please try the attached
patch. If changes MC setup significantly (so significantly that I don't
want to commit it without testing), it should be equivalent to what
radeon is doing now.
Please post your findings.
Matthias
--
Matthias Hopf <mhopf(a)suse.de> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat(a)mshopf.de
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
5
14
03 Aug '09
Listmates,
After taking 2 steps forward in the past couple of updates, looks like we went 3 steps back. On my Toshiba laptop with RS690M (x1200), the latest updates completely prevent X from starting. The bug seems related to Atombios. A summary of the errors and warning from my Xorg.0.log are as follows:
01:13 alchemy:~/archlinux/apps> grep "EE\|WW" Xorg.broken.log
Current Operating System: Linux alchemy 2.6.30-ARCH #1 SMP PREEMPT Mon Jul 20 07:46:03 CEST 2009 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/URW" does not exist.
(WW) The directory "/usr/share/fonts/truetype" does not exist.
(WW) The directory "/usr/share/fonts/uni" does not exist.
(WW) The directory "/opt/kde3/share/fonts" does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard[0]
(WW) Disabling Mouse[1]
(WW) Warning, couldn't open module type1
(EE) Failed to load module "type1" (module does not exist, 0)
(WW) Warning, couldn't open module freetype
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) Loading extension MIT-SCREEN-SAVER
(EE) RADEONHD(0): AtomBIOS command table 47 does not exist
(WW) RADEONHD(0): Unusupported SetVoltage Revision
(EE) RADEONHD(0): Unusupported PowerPlayInfo Revision
(EE) RADEONHD(0): Power Management: Cannot get known good chip configurations
(WW) RADEONHD(0): Unknown vendor-specific block f
(EE) RADEONHD(0): AtomBIOS command table 19 does not exist
(WW) RADEONHD(0): Failed to set power management
(EE) RADEONHD(0): AtomBIOS command table 47 does not exist
(WW) RADEONHD(0): Unusupported SetVoltage Revision
(EE) RADEONHD(0): AtomBIOS command table 47 does not exist
(WW) RADEONHD(0): Unusupported SetVoltage Revision
(WW) RADEONHD(0): Option "GARTSize" is not used
(WW) RADEONHD(0): Option "EnablePrivateBackZ" is not used
(WW) RADEONHD(0): Option "VideoOverlay" is not used
(WW) RADEONHD(0): Option "no_dri" is not used
(WW) RADEONHD(0): Option "UseFastTLS" is not used
(WW) RADEONHD(0): Option "mtrr" is not used
(WW) RADEONHD(0): Option "CalcAlgorithm" is not used
(WW) RADEONHD(0): Option "PreferredMode" is not used
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
(EE) RADEONHD(0): AtomBIOS command table 19 does not exist
(WW) RADEONHD(0): Failed to set power management
(EE) RADEONHD(0): AtomBIOS command table 47 does not exist
(WW) RADEONHD(0): Unusupported SetVoltage Revision
(EE) RADEONHD(0): RHDCSStop: Command Submission backend is not active!
Then of course, X just dies. Full build logs (configure + make) and my Xorg.broken.log and Xorg.normal.log are attached. Let me know if I can send anything else. My hand is burning again using the standard radeonhd driver provided by archlinux - xf86-video-radeonhd-1.2.5-1-x86_64.pkg.tar.gz.
Keep up the great work.
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
6
25
Reporting from xf86-video-radeonhd: Radeon HD video driver
Please visit:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd
Or get your own copy by using:
git-clone git://anongit.freedesktop.org/xorg/driver/xf86-video-radeonhd
Commit against master at 9cabfb07...:
commit da5b9c2fb0338e616f5376b6e40b4531fa3d7e1c
Author: Matthias Hopf <mhopf(a)suse.de>
Date: Mon Aug 3 17:17:44 2009 +0200
Fix autoconf issues.
Apparently, autoconf 2.64 has "interesting" issues with spaces in double
quoted strings, as used in configure.ac. Change that to parantheses.
Based on a patch by Jens Lody <radeonhd(a)jenslody.de>.
Additionally, autogen.sh didn't --force so far.
diffstat:
autogen.sh | 4 ++--
configure.ac | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h…
--
To unsubscribe, e-mail: radeonhd+unsubscribe(a)opensuse.org
For additional commands, e-mail: radeonhd+help(a)opensuse.org
1
0
On Aug 02, 09 19:13:16 +0900, Byeong-ryeol Kim wrote:
> Autogen.sh or 'autoreconf -vfi' aborts with error messages about
> '_m4_text_wrap_word', at the beginning of running newly made 'configure' .
Yes, this is being discussed on the radeonhd mailing list. So far nobody
knows why this happens, I assume this is related to autoconf 2.64.
Though it baffles me, because I cannot find the source of the
_m4_text_wrap_word inclusion...
> I could build the source after adding
> 'm4_pattern_allow([_m4_text_wrap_word])dnl' to configure.ac and
> re-running autogen.sh or 'autoreconf -vfi'.
Ok, this might be a reasonable workaround. Thanks!
Can you try deleting aclocal.m4 and autom4te.cache/ before calling
autoreconf -vfi?
> This mail is sent to you, because you committed lately configure.ac
> according to the log of git repository. But I'm not convinced that it is
> routed to right way.
It just invalidated configure, so it triggered the bug, but is not the
source of it :-]
Matthias
--
Matthias Hopf <mhopf(a)suse.de> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat(a)mshopf.de
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
--
To unsubscribe, e-mail: radeonhd+unsubscribe(a)opensuse.org
For additional commands, e-mail: radeonhd+help(a)opensuse.org
1
0
From: Luis R. Rodriguez <lrodriguez(a)atheros.com>
This is based on radeonhd driver, this is a port to radeon.
Cc: Egbert Eich <eich(a)novell.com>
Cc: Matthias Hopf <mhopf(a)novell.com>
Cc: Luc Verhaegen <libv(a)exsuse.de>
Cc: Christian König <deathsimple(a)vodafone.de>
Signed-off-by: Luis R. Rodriguez <mcgrof(a)gmail.com>
---
RFT - Request For Help/patch takeover
I've taken a stab at porting HDMI support from the radeonhd driver
onto the radeon driver. Mind you this is my first video patch, so
not sure if it was done properly. I kept telling myself I was going
to finish this during my night hours but my night hours are now reserved.
So if it is at least done some-what right was hoping someone could take this
on themselves and complete it... The missing piece should be the
generic HDMI stuff which I thought was not required but in fact is.
Forgot if I compile tested.. definitely didn't try loading yet.
I just rebased this onto today's git HEAD.
I do have an HD4800 which I can test.
Anyway, hope someone with more time can take this over.
src/atombios_output.c | 2 +
src/radeon.h | 96 ++++++++++
src/radeon_atombios.c | 17 ++
src/radeon_hdmi_audio.c | 442 +++++++++++++++++++++++++++++++++++++++++++++++
src/radeon_macros.h | 3 +
src/radeon_probe.h | 1 +
src/radeon_reg.h | 6 +
7 files changed, 567 insertions(+), 0 deletions(-)
create mode 100644 src/radeon_hdmi_audio.c
diff --git a/src/atombios_output.c b/src/atombios_output.c
index 00d17cb..73196c0 100644
--- a/src/atombios_output.c
+++ b/src/atombios_output.c
@@ -1509,6 +1509,8 @@ atombios_output_mode_set(xf86OutputPtr output,
atombios_output_dig_encoder_setup(output, ATOM_ENABLE);
atombios_output_dig_transmitter_setup(output, ATOM_TRANSMITTER_ACTION_SETUP);
atombios_output_dig_transmitter_setup(output, ATOM_TRANSMITTER_ACTION_ENABLE);
+ if (atombios_get_encoder_mode(output) == ATOM_ENCODER_MODE_HDMI)
+ radeon_hdmi_audio_register();
break;
case ENCODER_OBJECT_ID_INTERNAL_DDI:
atombios_output_ddia_setup(output, ATOM_ENABLE);
diff --git a/src/radeon.h b/src/radeon.h
index 3c62fd9..7d280e5 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -1,6 +1,11 @@
/*
* Copyright 2000 ATI Technologies Inc., Markham, Ontario, and
* VA Linux Systems Inc., Fremont, California.
+ * Copyright 2008 Christian König <deathsimple(a)vodafone.de>
+ * Copyright 2007 Luc Verhaegen <libv(a)exsuse.de>
+ * Copyright 2007 Matthias Hopf <mhopf(a)novell.com>
+ * Copyright 2007 Egbert Eich <eich(a)novell.com>
+ * Copyright 2007 Advanced Micro Devices, Inc.
*
* All Rights Reserved.
*
@@ -775,6 +780,34 @@ struct radeon_accel_state {
};
+struct radeon_hdmi_audio {
+
+ int scrnIndex;
+
+ //struct rhdHdmi* Registered;
+ OsTimerPtr Timer;
+
+ Bool SavedPlaying;
+ int SavedChannels;
+ int SavedRate;
+ int SavedBitsPerSample;
+ CARD8 SavedStatusBits;
+ CARD8 SavedCategoryCode;
+
+ Bool Stored;
+
+ CARD32 StoreEnabled;
+ CARD32 StoreTiming;
+ CARD32 StoreSupportedSizeRate;
+ CARD32 StoreSupportedCodec;
+
+ CARD32 StorePll1Mul;
+ CARD32 StorePll1Div;
+ CARD32 StorePll2Mul;
+ CARD32 StorePll2Div;
+ CARD32 StoreClockSrcSel;
+};
+
typedef struct {
EntityInfoPtr pEnt;
pciVideoPtr PciInfo;
@@ -979,6 +1012,7 @@ typedef struct {
float igp_system_mclk;
float igp_ht_link_clk;
float igp_ht_link_width;
+ struct radeon_hdmi_audio *hdmi_audio;
int can_resize;
void (*reemit_current2d)(ScrnInfoPtr pScrn, int op); // emit the current 2D state into the IB
@@ -1005,6 +1039,53 @@ typedef struct {
int bicubic_offset;
} RADEONInfoRec, *RADEONInfoPtr;
+/*
+ * used for config value of radeon_hmdi_audio_set_supported
+ */
+enum {
+ AUDIO_RATE_8000_HZ = 0x00000001,
+ AUDIO_RATE_11025_HZ = 0x00000002,
+ AUDIO_RATE_16000_HZ = 0x00000004,
+ AUDIO_RATE_22050_HZ = 0x00000008,
+ AUDIO_RATE_32000_HZ = 0x00000010,
+ AUDIO_RATE_44100_HZ = 0x00000020,
+ AUDIO_RATE_48000_HZ = 0x00000040,
+ AUDIO_RATE_88200_HZ = 0x00000080,
+ AUDIO_RATE_96000_HZ = 0x00000100,
+ AUDIO_RATE_176400_HZ = 0x00000200,
+ AUDIO_RATE_192000_HZ = 0x00000400,
+ AUDIO_RATE_384000_HZ = 0x00000800,
+
+ AUDIO_BPS_8 = 0x00010000,
+ AUDIO_BPS_16 = 0x00020000,
+ AUDIO_BPS_20 = 0x00040000,
+ AUDIO_BPS_24 = 0x00080000,
+ AUDIO_BPS_32 = 0x00100000
+};
+
+/*
+ * used for codec value of radeon_hmdi_audio_set_supported
+ */
+enum {
+ AUDIO_CODEC_PCM = 0x00000001,
+ AUDIO_CODEC_FLOAT32 = 0x00000002,
+ AUDIO_CODEC_AC3 = 0x00000004
+};
+
+/*
+ * used for status bist value in radeon_update_hdmi_audio
+ */
+enum {
+ AUDIO_STATUS_DIG_ENABLE = 0x01,
+ AUDIO_STATUS_V = 0x02,
+ AUDIO_STATUS_VCFG = 0x04,
+ AUDIO_STATUS_EMPHASIS = 0x08,
+ AUDIO_STATUS_COPYRIGHT = 0x10,
+ AUDIO_STATUS_NONAUDIO = 0x20,
+ AUDIO_STATUS_PROFESSIONAL = 0x40,
+ AUDIO_STATUS_LEVEL = 0x80
+};
+
#define RADEONWaitForFifo(pScrn, entries) \
do { \
if (info->accel_state->fifo_slots < entries) \
@@ -1284,6 +1365,21 @@ extern void radeon_ddx_cs_start(ScrnInfoPtr pScrn,
struct radeon_bo *radeon_get_pixmap_bo(PixmapPtr pPix);
void radeon_set_pixmap_bo(PixmapPtr pPix, struct radeon_bo *bo);
+/* radeon_hdmi_audio.c */
+extern void radeon_hdmi_audio_init(RHDPtr rhdPtr);
+
+extern void radeon_hdmi_audio_set_supported(RHDPtr rhdPtr, Bool clear, CARD32 config, CARD32 codec);
+extern void radeon_hdmi_audio_set_enable(RHDPtr rhdPtr, Bool Enable);
+extern void radeon_hdmi_audio_set_clock(RHDPtr rhdPtr, struct rhdOutput* Output, CARD32 Clock);
+
+extern void radeon_hdmi_audio_register(RHDPtr rhdPtr, struct rhdHdmi* rhdHdmi);
+extern void radeon_hdmi_audio_unregister(RHDPtr rhdPtr, struct rhdHdmi* rhdHdmi);
+
+extern void radeon_hdmi_audio_save(RHDPtr rhdPtr);
+extern void radeon_hdmi_audio_restore(RHDPtr rhdPtr);
+
+extern void radeon_hdmi_audio_destroy(RHDPtr rhdPtr);
+
#ifdef XF86DRI
# ifdef USE_XAA
/* radeon_accelfuncs.c */
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index f590d5b..ff8c11d 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -1771,6 +1771,23 @@ radeon_add_encoder(ScrnInfoPtr pScrn, uint32_t encoder_id, uint32_t device_suppo
}
break;
}
+
+ /* This time around we'll just set the HDMI offset */
+ switch (encoder_id) {
+ case ENCODER_OBJECT_ID_INTERNAL_TMDS1:
+ case ENCODER_OBJECT_ID_INTERNAL_UNIPHY1:
+ info->encoders[device_index]->hdmi_offset = RADEON_HDMI_TMDS;
+ break;
+ case ENCODER_OBJECT_ID_INTERNAL_LVTM1:
+ info->encoders[device_index]->hdmi_offset = RADEON_HDMI_LVTMA;
+ break;
+ case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_LVTMA:
+ info->encoders[device_index]->hdmi_offset = RADEON_HDMI_DIG;
+ break;
+ default:
+ info->encoders[device_index]->hdmi_offset = 0;
+ break;
+ }
return TRUE;
} else {
ErrorF("xalloc failed\n");
diff --git a/src/radeon_hdmi_audio.c b/src/radeon_hdmi_audio.c
new file mode 100644
index 0000000..931cb6d
--- /dev/null
+++ b/src/radeon_hdmi_audio.c
@@ -0,0 +1,442 @@
+/*
+ * Copyright 2009 Luis R. Rodriguez <mcgrof(a)gmail.com>
+ * Copyright 2008 Christian König <deathsimple(a)vodafone.de>
+ * Copyright 2007 Luc Verhaegen <libv(a)exsuse.de>
+ * Copyright 2007 Matthias Hopf <mhopf(a)novell.com>
+ * Copyright 2007 Egbert Eich <eich(a)novell.com>
+ * Copyright 2007 Advanced Micro Devices, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+#include "radeon.h"
+
+#define RADEON_HDMI_AUDIO_TIMER_INTERVALL 100 /* 1/10 sekund should be enough */
+
+/*
+ * current number of channels
+ */
+static int radeon_hdmi_audio_channels(xf86OutputPtr output)
+{
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+ return (INREG(AUDIO_RATE_BPS_CHANNEL) & 0x7) + 1;
+}
+
+/*
+ * current bits per sample
+ */
+static int radeon_hdmi_audio_bits_per_sample(xf86OutputPtr output)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio = radeon_output->hdmi_audio;
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+
+ CARD32 value = (INREG(AUDIO_RATE_BPS_CHANNEL) & 0xF0) >> 4;
+ switch(value)
+ {
+ case 0x0: return 8;
+ case 0x1: return 16;
+ case 0x2: return 20;
+ case 0x3: return 24;
+ case 0x4: return 32;
+ }
+
+ xf86DrvMsg(Audio->scrnIndex, X_WARNING, "%s: unknown bits per sample 0x%x "
+ "using 16 instead.\n", __func__, (int) value);
+
+ return 16;
+}
+
+/*
+ * current sampling rate in HZ
+ */
+static int radeon_hdmi_audio_rate(xf86OutputPtr output)
+{
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+
+ CARD32 value = INREG(AUDIO_RATE_BPS_CHANNEL);
+ CARD32 result;
+
+ if(value & 0x4000)
+ result = 44100;
+ else
+ result = 48000;
+
+ result *= ((value >> 11) & 0x7) + 1;
+ result /= ((value >> 8) & 0x7) + 1;
+
+ return result;
+}
+
+/*
+ * something playing ?
+ */
+static Bool radeon_hdmi_audio_playing(xf86OutputPtr output)
+{
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+ return (INREG(AUDIO_PLAYING) >> 4) & 1;
+}
+
+/*
+ * iec 60958 status bits
+ */
+static CARD8 radeon_hdmi_audio_status_bits(xf86OutputPtr output)
+{
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+ return INREG(AUDIO_STATUS_BITS) & 0xff;
+}
+
+/*
+ * iec 60958 category code
+ */
+static CARD8 radeon_hdmi_audio_category_code(xf86OutputPtr output)
+{
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+ return (INREG(AUDIO_STATUS_BITS) >> 8) & 0xff;
+}
+
+/*
+ * update all registered hdmi interfaces with current audio parameters
+ */
+static CARD32 radeon_timer_hdmi_audio(OsTimerPtr timer, CARD32 time, pointer ptr)
+{
+ struct radeon_hdmi_audio *Audio = (struct radeon_hdmi_audio*)ptr;
+ Bool playing = radeon_hdmi_audio_playing(Audio);
+ int channels = radeon_hdmi_audio_hannels(Audio);
+ int rate = radeon_hdmi_audio_rate(Audio);
+ int bps = radeon_hdmi_audio_bits_per_sample(Audio);
+ CARD8 status_bits = radeon_audio_status_bits(Audio);
+ CARD8 category_code = radeon_audio_category_code(Audio);
+
+ struct rhdHdmi* hdmi;
+
+ if (playing != Audio->SavedPlaying ||
+ channels != Audio->SavedChannels ||
+ rate != Audio->SavedRate ||
+ bps != Audio->SavedBitsPerSample ||
+ status_bits != Audio->SavedStatusBits ||
+ category_code != Audio->SavedCategoryCode) {
+
+ Audio->SavedPlaying = playing;
+ Audio->SavedChannels = channels;
+ Audio->SavedRate = rate;
+ Audio->SavedBitsPerSample = bps;
+ Audio->SavedStatusBits = status_bits;
+ Audio->SavedCategoryCode = category_code;
+
+ /* XXX: port hdmi struct usage */
+ for (hdmi=Audio->Registered; hdmi != NULL; hdmi=hdmi->Next)
+ radeon_hdmi_update_audio_settings(
+ hdmi, playing, channels,
+ rate, bps, status_bits,
+ category_code);
+ }
+
+ return RADEON_HDMI_AUDIO_TIMER_INTERVALL;
+}
+
+/*
+ * allocate and init the audio structure
+ */
+void
+radeon_hdmi_audio_init(xf86OutputPtr output)
+{
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio;
+
+ if (info->ChipFamily < CHIP_FAMILY_RS600) {
+ radeon_output->Audio = NULL;
+ return;
+ }
+
+ Audio = (struct radeon_hdmi_audio *) xnfcalloc(sizeof(struct radeon_hdmi_audio), 1);
+ Audio->scrnIndex = info->atomBIOS->scrnIndex;
+ Audio->Registered = NULL;
+ Audio->Stored = FALSE;
+
+ radeon_output->Audio = Audio;
+}
+
+/*
+ * enable or disable the complete audio engine
+ */
+void
+radeon_hdmi_audio_set_enable(xf86OutputPtr output, Bool Enable)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio = radeon_output->hdmi_audio;
+
+ if (!Audio)
+ return;
+
+ REG_RMW(AUDIO_ENABLE, Enable ? 0x80000000 : 0x0, 0x80000000);
+ if (!Enable) {
+ TimerFree(Audio->Timer);
+ Audio->Timer = NULL;
+ return;
+ }
+
+ /*
+ * the hardware generates an interrupt if audio starts/stops playing,
+ * but since drm doesn't support this interrupt, we check
+ * every RADEON_HDMI_AUDIO_TIMER_INTERVALL ms if something has changed
+ */
+
+ Audio->SavedChannels = -1;
+ Audio->SavedRate = -1;
+ Audio->SavedBitsPerSample = -1;
+ Audio->SavedStatusBits = 0;
+ Audio->SavedCategoryCode = 0;
+ Audio->Timer = TimerSet(NULL, 0, RADEON_HDMI_AUDIO_TIMER_INTERVALL,
+ radeon_hdmi_audio_update, Audio);
+
+ /* 48kHz and 16/20 bits per sample are always supported */
+ radeon_hdmi_audio_set_supported(output, TRUE,
+ AUDIO_RATE_48000_HZ |
+ AUDIO_BPS_16 |
+ AUDIO_BPS_20,
+ AUDIO_CODEC_PCM);
+}
+
+/*
+ * programm the audio clock and timing registers
+ */
+void
+radeon_hdmi_audio_set_clock(xf86OutputPtr output, CARD32 Clock)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio = radeon_output->hdmi_audio;
+ radeon_encoder_ptr radeon_encoder;
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+
+ int Rate = 48000;
+
+ if (!Audio)
+ return;
+
+ radeon_encoder = radeon_get_encoder(output);
+
+ xf86DrvMsg(Audio->scrnIndex, X_INFO, "%s: using %s as clock source with %d khz\n",
+ __func__,
+ device_name[radeon_get_device_index(radeon_output->active_device)],
+ (int) Clock);
+
+ switch(radeon_encoder->encoder_id) {
+ case ENCODER_OBJECT_ID_INTERNAL_TMDS1:
+ case ENCODER_OBJECT_ID_INTERNAL_LVTM1:
+ REG_RMW(AUDIO_TIMING, 0, 0x301);
+ break;
+ case ENCODER_OBJECT_ID_INTERNAL_UNIPHY1:
+ case ENCODER_OBJECT_ID_INTERNAL_UNIPHY2:
+ case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_LVTMA:
+ REG_RMW(AUDIO_TIMING, 0x100, 0x301);
+ break;
+
+ default:
+ break;
+ }
+
+ switch(radeon_encoder->encoder_id) {
+ case ENCODER_OBJECT_ID_INTERNAL_TMDS1:
+ case ENCODER_OBJECT_ID_INTERNAL_UNIPHY1:
+ OUTREG(AUDIO_PLL1_MUL, Rate*50);
+ OUTREG(AUDIO_PLL1_DIV, Clock*100);
+ OUTREG(AUDIO_CLK_SRCSEL, 0);
+ break;
+
+ case ENCODER_OBJECT_ID_INTERNAL_LVTM1:
+ case ENCODER_OBJECT_ID_INTERNAL_UNIPHY2:
+ case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_LVTMA:
+ OUTREG(AUDIO_PLL2_MUL, Rate*50);
+ OUTREG(AUDIO_PLL2_DIV, Clock*100);
+ OUTREG(AUDIO_CLK_SRCSEL, 1);
+ break;
+
+ default:
+ xf86DrvMsg(Audio->scrnIndex, X_ERROR, "%s: unsupported output type\n", __func__);
+ break;
+ }
+}
+
+/*
+ * set the supported audio rates, bits per sample and codecs
+ */
+void
+radeon_hdmi_audio_set_supported(xf86OutputPtr output, Bool clear, CARD32 config, CARD32 codec)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio = radeon_output->hdmi_audio;
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+
+ if (!Audio)
+ return;
+
+ xf86DrvMsg(Audio->scrnIndex, X_INFO, "%s: config 0x%x codec 0x%x\n",
+ __func__, (int) config, (int) codec);
+
+ if(config & 0xFFE0F000)
+ xf86DrvMsg(Audio->scrnIndex, X_WARNING, "%s: reserved config bits set 0x%x\n",
+ __func__, (int) config);
+
+ if(codec & 0xFFFFFFF8)
+ xf86DrvMsg(Audio->scrnIndex, X_WARNING, "%s: reserved codec bits set 0x%x\n",
+ __func__, (int) codec);
+
+ if (clear) {
+ OUTREG(AUDIO_SUPPORTED_SIZE_RATE, config);
+ OUTREG(AUDIO_SUPPORTED_CODEC, codec);
+ } else {
+ OUTREG(AUDIO_SUPPORTED_SIZE_RATE, config, config);
+ OUTREG(AUDIO_SUPPORTED_CODEC, codec, codec);
+ }
+}
+
+/*
+ * register and hdmi interface for getting updates when audio parameters change.
+ * The right approach here is to use DRM interrupts for Audio updates but until
+ * DRM does not suppor that we use a timer to update it regularly.
+ */
+void radeon_hdmi_audio_register(xf86OutputPtr output, struct rhdHdmi* rhdHdmi)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio = radeon_output->hdmi_audio;
+
+ if (!Audio)
+ return;
+
+ /* XXX: How to port rhdHmdi to ati driver from radeonhd */
+ if(!rhdHdmi)
+ return;
+
+ rhdHdmi->Next = Audio->Registered;
+ Audio->Registered = rhdHdmi;
+}
+
+
+/*
+ * unregister the hdmi interface
+ */
+void radeon_hdmi_audio_unregister(xf86OutputPtr output, struct rhdHdmi* rhdHdmi)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio = radeon_output->hdmi_audio;
+ struct rhdHdmi** hdmiPtr;
+
+ if (!Audio)
+ return;
+
+ for (hdmiPtr=&Audio->Registered; hdmiPtr!=NULL; hdmiPtr=&(*hdmiPtr)->Next) {
+ if(*hdmiPtr != rhdHdmi)
+ continue;
+ *hdmiPtr = rhdHdmi->Next;
+ rhdHdmi->Next = NULL;
+ return;
+ }
+
+}
+
+/*
+ * save the current config of audio engine
+ */
+void
+radeon_hdmi_audio_save(xf86OutputPtr output)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio = radeon_output->hdmi_audio;
+ unsigned char *RADEONMMIO = info->MMIO;
+
+ if (!Audio)
+ return;
+
+ Audio->StoreEnabled = INREG(AUDIO_ENABLE);
+ Audio->StoreTiming = INREG(AUDIO_TIMING);
+
+ Audio->StoreSupportedSizeRate = INREG(AUDIO_SUPPORTED_SIZE_RATE);
+ Audio->StoreSupportedCodec = INREG(AUDIO_SUPPORTED_CODEC);
+
+ Audio->StorePll1Mul = INREG(AUDIO_PLL1_MUL);
+ Audio->StorePll1Div = INREG(AUDIO_PLL1_DIV);
+ Audio->StorePll2Mul = INREG(AUDIO_PLL2_MUL);
+ Audio->StorePll2Div = INREG(AUDIO_PLL2_DIV);
+ Audio->StoreClockSrcSel = INREG(AUDIO_CLK_SRCSEL);
+
+ Audio->Stored = TRUE;
+}
+
+/*
+ * restore the saved config of audio engine
+ */
+void
+radeon_hdmi_audio_restore(xf86OutputPtr output)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+ struct radeon_hdmi_audio *Audio = radeon_output->hdmi_audio;
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+
+ if (!Audio)
+ return;
+
+ if (!Audio->Stored) {
+ xf86DrvMsg(Audio->scrnIndex, X_ERROR, "%s: trying to restore "
+ "uninitialized values.\n", __func__);
+ return;
+ }
+
+ /* shoutdown the audio engine before doing anything else */
+ radeon_hdmi_audio_set_enable(output, FALSE);
+
+ OUTREG(AUDIO_TIMING, Audio->StoreTiming);
+ OUTREG(AUDIO_SUPPORTED_SIZE_RATE, Audio->StoreSupportedSizeRate);
+ OUTREG(AUDIO_SUPPORTED_CODEC, Audio->StoreSupportedCodec);
+
+ OUTREG(AUDIO_PLL1_MUL, Audio->StorePll1Mul);
+ OUTREG(AUDIO_PLL1_DIV, Audio->StorePll1Div);
+ OUTREG(AUDIO_PLL2_MUL, Audio->StorePll2Mul);
+ OUTREG(AUDIO_PLL2_DIV, Audio->StorePll2Div);
+ OUTREG(AUDIO_CLK_SRCSEL, Audio->StoreClockSrcSel);
+ OUTREG(AUDIO_ENABLE, Audio->StoreEnabled);
+}
+
+/*
+ * release the allocated memory
+ */
+void
+radeon_hdmi_audio_destroy(xf86OutputPtr output)
+{
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
+
+ if (!radeon_output->hdmi_audio)
+ return;
+
+ if(radeon_output->hdmi_audio->Timer)
+ TimerFree(radeon_output->hdmi_audio->Timer);
+
+ xfree(radeon_output->hdmi_audio);
+ radeon_output->hdmi_audio = NULL;
+}
diff --git a/src/radeon_macros.h b/src/radeon_macros.h
index 26d9825..a51f2f4 100644
--- a/src/radeon_macros.h
+++ b/src/radeon_macros.h
@@ -69,6 +69,9 @@
#define ADDRREG(addr) ((volatile uint32_t *)(pointer)(RADEONMMIO + (addr)))
+#define REG_RMW(_r, _m, _v) \
+ OUTREG((_r), \
+ (INREG(_r) & ~_m) | ((_v) & _m))
#define OUTREGP(addr, val, mask) \
do { \
diff --git a/src/radeon_probe.h b/src/radeon_probe.h
index 9cac15c..b62f019 100644
--- a/src/radeon_probe.h
+++ b/src/radeon_probe.h
@@ -167,6 +167,7 @@ typedef struct _RADEONCrtcPrivateRec {
typedef struct _radeon_encoder {
uint16_t encoder_id;
int devices;
+ uint32_t hdmi_offset;
void *dev_priv;
} radeon_encoder_rec, *radeon_encoder_ptr;
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index 9df7fff..0e1e9a4 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -3833,6 +3833,12 @@
#define AVIVO_D2SCL_SCALER_TAP_CONTROL 0x6d94
#define AVIVO_D2SCL_UPDATE 0x6dcc
+/* HDMI offsets */
+#define RADEON_HDMI_TMDS 0x7400
+#define RADEON_HDMI_LVTMA 0x7700
+#define RADEON_HDMI_DIG 0x7800
+
+
#define AVIVO_DDIA_BIT_DEPTH_CONTROL 0x7214
#define AVIVO_DACA_ENABLE 0x7800
--
1.6.3.3
--
To unsubscribe, e-mail: radeonhd+unsubscribe(a)opensuse.org
For additional commands, e-mail: radeonhd+help(a)opensuse.org
3
8
I have an ASUS M3A78-EM connected to a 47" Westinghouse 1080P TV through
an HDMI cable. The setup works OK with the generic Linux driver but DVD
playback is choppy so I followed the repository method of installing the
ATI Radeon driver. Now I get a black screen.
I have enabled telnet and Samba on this server so I can work on it
pretty easily. There do not appear to be any issues in the Xorg.0.log
file, other than the driver not properly identifying the chipset (card).
I did manually edit the screen size in the Xorg.conf file to match what
I believe to be the values returned by the Radeon driver's probe of the
monitor. Didn't help.
I have also tried forcing the Video UDMA to 128MB and 256MB in the BIOS,
also didn't help.
I can be reached at bgruen(a)mindspring.com .
Thank You,
Robert Gruen
<--------------- Xorg.0.log ----------------->
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux SUSEMedia 2.6.27.25-0.1-default #1 SMP
2009-07-0
1 15:37:09 +0200 x86_64
Build Date: 02 July 2009 08:00:37AM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 1 11:45:48 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout[all]"
(**) |-->Screen "Screen[0]" (0)
(**) | |-->Monitor "Monitor[0]"
(**) | |-->Device "Device[0]"
(**) |-->Input Device "Keyboard[0]"
(**) |-->Input Device "Mouse[1]"
(**) Option "ZapWarning" "on"
(**) Option "AllowMouseOpenFail" "on"
(**) Option "Xinerama" "off"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/local" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/PEX" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/latin2/misc" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/latin2/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/latin2/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/latin2/Type1" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/latin7/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/baekmuk" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/japanese" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/kwintv" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/uni" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/ucs/misc" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/ucs/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/ucs/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/hellas/misc" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/hellas/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/hellas/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/hellas/Type1" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/xtest" does not exist.
Entry deleted from font path.
(==) Including the default font path
/usr/share/fonts/misc:unscaled,/usr/share/f
onts/TTF/,/usr/share/fonts/OTF,/usr/share/fonts/Type1/,/usr/share/fonts/
100dpi:u
nscaled,/usr/share/fonts/75dpi:unscaled.
(**) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/Type1,
/usr/share/fonts/URW,
/usr/share/fonts/Speedo,
/usr/share/fonts/cyrillic,
/usr/share/fonts/truetype,
/opt/kde3/share/fonts,
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled
(**) Input device list set to "/dev/gpmdata,/dev/input/mice"
(==) ModulePath set to
"/usr/lib64/xorg/modules/updates,/usr/lib64/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x7b2680
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on linux
(++) using VT number 7
(--) PCI:*(0@1:5:0) unknown vendor (0x1002) unknown chipset (0x9610) rev
0, Mem
@ 0xf0000000/134217728, 0xfb5f0000/65536, 0xfb400000/1048576, I/O @
0x0000c000/2
56
(II) System resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[8] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[12] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[16] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[21] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[22] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[23] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[24] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[25] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[26] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[27] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[28] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[29] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also
specified in
the config file.
(II) "dbe" will be loaded. This was enabled by default and also
specified in the
config file.
(II) "glx" will be loaded. This was enabled by default and also
specified in the
config file.
(II) "freetype" will be loaded. This was enabled by default and also
specified i
n the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded. This was enabled by default and also
specified in the
config file.
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules//extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.5.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules//extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.5.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/updates//extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 7.4.0, module version = 1.0.0
(==) AIGLX disabled
(WW) fglrx: Force AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "freetype"
(II) Loading /usr/lib64/xorg/modules//fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 1.5.2, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.6
(II) Loading font FreeType
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/updates//extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 7.4.0, module version = 1.0.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules//extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.5.2, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension RECORD
(II) LoadModule: "radeonhd"
(II) Loading /usr/lib64/xorg/modules//drivers/radeonhd_drv.so
(II) Module radeonhd: vendor="AMD GPG"
compiled for 1.5.2, module version = 1.2.4
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "kbd"
(II) Loading /usr/lib64/xorg/modules//input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.5.2, module version = 1.3.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
(II) LoadModule: "mouse"
(II) Loading /usr/lib64/xorg/modules//input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 1.5.2, module version = 1.3.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
(II) RADEONHD: X driver for the following AMD GPG (ATI) graphics
devices:
RV505 : Radeon X1550, X1550 64bit.
RV515 : Radeon X1300, X1550, X1600; FireGL V3300, V3350.
RV516 : Radeon X1300, X1550, X1550 64-bit, X1600; FireMV 2250.
R520 : Radeon X1800; FireGL V5300, V7200, V7300, V7350.
RV530 : Radeon X1300 XT, X1600, X1600 Pro, X1650; FireGL V3400,
V5200.
RV535 : Radeon X1300, X1650.
RV550 : Radeon X2300 HD.
RV560 : Radeon X1650.
RV570 : Radeon X1950, X1950 GT; FireGL V7400.
R580 : Radeon X1900, X1950; AMD Stream Processor.
R600 : Radeon HD 2900 GT/Pro/XT; FireGL V7600/V8600/V8650.
RV610 : Radeon HD 2350, HD 2400 Pro/XT, HD 2400 Pro AGP; FireGL
V4000.
RV620 : Radeon HD 3450, HD 3470.
RV630 : Radeon HD 2600 LE/Pro/XT, HD 2600 Pro/XT AGP; Gemini
RV630;
FireGL V3600/V5600.
RV635 : Radeon HD 3650, HD 3670.
RV670 : Radeon HD 3690, 3850, HD 3870, FireGL V7700, FireStream
9170.
R680 : Radeon HD 3870 X2.
M52 : Mobility Radeon X1300.
M54 : Mobility Radeon X1400; M54-GL.
M56 : Mobility Radeon X1600; Mobility FireGL V5200.
M58 : Mobility Radeon X1800, X1800 XT; Mobility FireGL V7100,
V7200.
M62 : Mobility Radeon X1350.
M64 : Mobility Radeon X1450, X2300.
M66 : Mobility Radeon X1700, X1700 XT; FireGL V5250.
M68 : Mobility Radeon X1900.
M71 : Mobility Radeon HD 2300.
M72 : Mobility Radeon HD 2400; Radeon E2400.
M74 : Mobility Radeon HD 2400 XT.
M76 : Mobility Radeon HD 2600;
(Gemini ATI) Mobility Radeon HD 2600 XT.
M82 : Mobility Radeon HD 3400.
M86 : Mobility Radeon HD 3650, HD 3670, Mobility FireGL V5700.
M88 : Mobility Radeon HD 3850, HD 3850 X2, HD 3870, HD3870 X2.
RS600 : Radeon Xpress 1200, Xpress 1250.
RS690 : Radeon X1200, X1250, X1270.
RS740 : RS740, RS740M.
RS780 : Radeon HD 3100/3200/3300 Series.
RV770 : Radeon HD 4800 Series; Everest, K2, Denali ATI FirePro.
R700 : Radeon R700.
M98 : Radeon M98 Mobility.
RV730 : Radeon HD4670, HD4650.
M96 : Radeon M96 Mobility.
RV710 : Radeon HD4570, HD4350.
(II) RADEONHD: version 1.2.4, built from dist of git branch master,
commit 4e897
263
(II) Primary Device is: PCI 01@00:05:0
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[8] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[12] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[16] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[21] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[22] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[23] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[24] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[25] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[26] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[27] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[28] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[29] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) resource ranges after probing:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[8] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[12] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[16] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[20] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[21] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[22] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[23] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[24] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[25] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[26] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[27] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[28] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[29] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[30] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[31] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[32] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[33] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[34] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(EE) RADEONHD(0): The fglrx kernel module is loaded. This can have
obvious
or subtle side effects. See radeonhd(4) for details.
(**) RADEONHD(0): Depth 24, (--) framebuffer bpp 32
(**) RADEONHD(0): Selected ShadowFB.
(II) RADEONHD(0): Unknown card detected: 0x9610:0x1043:0x82F1.
If - and only if - your card does not work or does not work
optimally
please contact radeonhd(a)opensuse.org to help rectify this.
Use the subject: 0x9610:0x1043:0x82F1: <name of board>
and *please* describe the problems you are seeing
in your message.
(--) RADEONHD(0): Detected an RS780 on an unidentified card
(II) RADEONHD(0): Mapped IO @ 0xfb5f0000 to 0x7f150adab000 (size
0x00010000)
(II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location
(II) RADEONHD(0): ATOM BIOS Rom:
SubsystemVendorID: 0x1002 SubsystemID: 0x1002
IOBaseAddress: 0xc000
Filename: Test.bin
BIOS Bootup Message:
B27721 RS780 DDR2 200e/500m
(II) RADEONHD(0): Analog TV Default Mode: 4294967040
(--) RADEONHD(0): VideoRAM: 131072 kByte
(II) RADEONHD(0): Framebuffer space used by Firmware (kb): 20
(II) RADEONHD(0): Start of VRAM area used by Firmware: 0x7ffb000
(II) RADEONHD(0): AtomBIOS requests 20kB of VRAM scratch space
(II) RADEONHD(0): AtomBIOS VRAM scratch base: 0x7ffb000
(II) RADEONHD(0): Default Engine Clock: 500000
(II) RADEONHD(0): Default Memory Clock: 400000
(II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Output: 1200000
(II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Output: 0
(II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Input: 13500
(II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Input: 1000
(II) RADEONHD(0): Maximum Pixel Clock: 400000
(II) RADEONHD(0): Reference Clock: 14320
(II) RADEONHD(0): Direct rendering turned off by default. Use Option
"DRI" to en
able.
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) RADEONHD(0): Reference Clock: 14320
(II) RADEONHD(0): GPIO_I2C_Clk_Mask: 0x1f90
(II) RADEONHD(0): GPIO_I2C_Clk_Mask_Shift: 0x0
(II) RADEONHD(0): GPIO_I2C_Data_Mask: 0x1f90
(II) RADEONHD(0): GPIO_I2C_Data_Mask_Shift: 0x8
(II) RADEONHD(0): I2C bus "RHD I2C line 0" initialized.
(II) RADEONHD(0): GPIO_I2C_Clk_Mask: 0x1f94
(II) RADEONHD(0): GPIO_I2C_Clk_Mask_Shift: 0x0
(II) RADEONHD(0): GPIO_I2C_Data_Mask: 0x1f94
(II) RADEONHD(0): GPIO_I2C_Data_Mask_Shift: 0x8
(II) RADEONHD(0): I2C bus "RHD I2C line 1" initialized.
(II) RADEONHD(0): GPIO_I2C_Clk_Mask: 0x1f98
(II) RADEONHD(0): GPIO_I2C_Clk_Mask_Shift: 0x0
(II) RADEONHD(0): GPIO_I2C_Data_Mask: 0x1f98
(II) RADEONHD(0): GPIO_I2C_Data_Mask_Shift: 0x8
(II) RADEONHD(0): I2C bus "RHD I2C line 2" initialized.
(II) RADEONHD(0): GPIO_I2C_Clk_Mask: 0x1f88
(II) RADEONHD(0): GPIO_I2C_Clk_Mask_Shift: 0x0
(II) RADEONHD(0): GPIO_I2C_Data_Mask: 0x1f88
(II) RADEONHD(0): GPIO_I2C_Data_Mask_Shift: 0x8
(II) RADEONHD(0): I2C bus "RHD I2C line 3" initialized.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) RADEONHD(0): Detected VGA mode.
(II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Output: 0
(II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Output: 1200000
(II) RADEONHD(0): Maximum Pixel Clock: 400000
(II) RADEONHD(0): Reference Clock: 14320
(II) RADEONHD(0): FB: Allocated Cursor Image at offset 0x00000000 (size
= 0x0000
4000)
(II) RADEONHD(0): FB: Allocated Cursor Image at offset 0x00004000 (size
= 0x0000
4000)
(II) RADEONHD(0): Connector[0] {RHD_CONNECTOR_VGA, "VGA CRT1",
RHD_DDC_0, RHD_HP
D_NONE, { RHD_OUTPUT_DACA, RHD_OUTPUT_NONE } }
(II) RADEONHD(0): Connector[1] {RHD_CONNECTOR_DVI_SINGLE, "HDMI_TYPE_A
DFP3", RH
D_DDC_1, RHD_HPD_2, { RHD_OUTPUT_KLDSKP_LVTMA, RHD_OUTPUT_NONE } }
(--) RADEONHD(0): Attaching Output DAC A to Connector VGA 1
(==) RADEONHD(0): Setting UNIPHY_KLDSKP_LVTMA to incoherent
(--) RADEONHD(0): Attaching Output UNIPHY_KLDSKP_LVTMA to Connector
DVI-D 1
(II) RADEONHD(0): RandR: Adding RRoutput VGA_1 for Output DAC A
(II) RADEONHD(0): RandR: Adding RRoutput DVI-D_1 for Output
UNIPHY_KLDSKP_LVTMA
(II) RADEONHD(0): Output VGA_1 using monitor section Monitor[0]
(**) RADEONHD(0): Option "PreferredMode" "1920x1080"
(II) RADEONHD(0): Output DVI-D_1 using monitor section Monitor[0]
(II) RADEONHD(0): I2C device "RHD I2C line 1:ddc2" registered at address
0xA0.
(II) RADEONHD(0): EDID data for LVM-47w1
(II) RADEONHD(0): Manufacturer: WDE Model: 4701 Serial#: 16843009
(II) RADEONHD(0): Year: 2006 Week: 39
(II) RADEONHD(0): EDID Version: 1.3
(II) RADEONHD(0): Digital Display Input
(II) RADEONHD(0): Max Image Size [cm]: horiz.: 104 vert.: 58
(II) RADEONHD(0): Gamma: 2.20
(II) RADEONHD(0): DPMS capabilities: Off
(II) RADEONHD(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
(II) RADEONHD(0): First detailed timing is preferred mode
(II) RADEONHD(0): redX: 0.652 redY: 0.331 greenX: 0.277 greenY: 0.597
(II) RADEONHD(0): blueX: 0.143 blueY: 0.065 whiteX: 0.285 whiteY:
0.293
(II) RADEONHD(0): Supported VESA Video Modes:
(II) RADEONHD(0): 720x400@70Hz
(II) RADEONHD(0): 640x480@60Hz
(II) RADEONHD(0): 640x480@67Hz
(II) RADEONHD(0): 640x480@72Hz
(II) RADEONHD(0): 640x480@75Hz
(II) RADEONHD(0): 800x600@60Hz
(II) RADEONHD(0): 800x600@72Hz
(II) RADEONHD(0): 800x600@75Hz
(II) RADEONHD(0): 832x624@75Hz
(II) RADEONHD(0): 1024x768@60Hz
(II) RADEONHD(0): 1024x768@70Hz
(II) RADEONHD(0): 1024x768@75Hz
(II) RADEONHD(0): 1280x1024@75Hz
(II) RADEONHD(0): 1152x870@75Hz
(II) RADEONHD(0): Manufacturer's mask: 0
(II) RADEONHD(0): Supported Future Video Modes:
(II) RADEONHD(0): #0: hsize: 1152 vsize 864 refresh: 75 vid: 20337
(II) RADEONHD(0): #1: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
(II) RADEONHD(0): #2: hsize: 1280 vsize 800 refresh: 60 vid: 129
(II) RADEONHD(0): Supported additional Video Mode:
(II) RADEONHD(0): clock: 148.5 MHz Image Size: 1040 x 580 mm
(II) RADEONHD(0): h_active: 1920 h_sync: 2008 h_sync_end 2052
h_blank_end 2200
h_border: 0
(II) RADEONHD(0): v_active: 1080 v_sync: 1084 v_sync_end 1089
v_blanking: 1125
v_border: 0
(II) RADEONHD(0): Supported additional Video Mode:
(II) RADEONHD(0): clock: 74.2 MHz Image Size: 1040 x 580 mm
(II) RADEONHD(0): h_active: 1920 h_sync: 2008 h_sync_end 2052
h_blank_end 2200
h_border: 0
(II) RADEONHD(0): v_active: 540 v_sync: 542 v_sync_end 547 v_blanking:
562 v_b
order: 0
(II) RADEONHD(0): Ranges: V min: 60 V max: 75 Hz, H min: 15 H max: 80
kHz, PixCl
ock max 150 MHz
(II) RADEONHD(0): Monitor name: LVM-47w1
(II) RADEONHD(0): Number of EDID sections to follow: 1
(II) RADEONHD(0): EDID (in hex):
(II) RADEONHD(0): 00ffffffffffff005c85014701010101
(II) RADEONHD(0): 2710010380683a782a33b0a754479824
(II) RADEONHD(0): 10494bbdef80714f8180810001010101
(II) RADEONHD(0): 010101010101023a801871382d40582c
(II) RADEONHD(0): 450010444200001a011d8018711c1620
(II) RADEONHD(0): 582c250010444200009e000000fd003c
(II) RADEONHD(0): 4b0f500f000a202020202020000000fc
(II) RADEONHD(0): 004c564d2d343777310a2020202001b2
(II) RADEONHD(0): Output VGA_1 disconnected
(II) RADEONHD(0): Output DVI-D_1 connected
(II) RADEONHD(0): Using user preference for initial modes
(II) RADEONHD(0): Output DVI-D_1 using initial mode 1920x1080
(II) RADEONHD(0): RandR 1.2 support enabled
(==) RADEONHD(0): RGB weight 888
(==) RADEONHD(0): Default visual is TrueColor
(==) RADEONHD(0): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEONHD(0): Using 3840x1200 Framebuffer with 3840 pitch
(II) RADEONHD(0): FB: Allocated ScanoutBuffer at offset 0x00008000 (size
= 0x011
94000)
(**) RADEONHD(0): Display dimensions: (1040, 580) mm
<<<<<<<<<<<<<<<<<<<<<<< Matched this
(**) RADEONHD(0): DPI set to (46, 47)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib64/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.5.2, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib64/xorg/modules//libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
compiled for 1.5.2, module version = 1.1.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) RADEONHD(0): Using ShadowFB
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[8] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[12] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[16] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[20] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[21] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[22] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[23] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[24] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[25] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[26] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[27] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[28] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[29] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[30] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[31] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[32] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[33] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[34] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) RADEONHD(0): Mapped IO @ 0xfb5f0000 to 0x7f150adab000 (size
0x00010000)
(II) RADEONHD(0): Mapped FB @ 0xf0000000 to 0x7f14feca7000 (size
0x08000000)
(WW) RADEONHD(0): RHDCSInit: No CS for R600 and up yet.
(==) RADEONHD(0): Backing store disabled
(==) RADEONHD(0): Silken mouse enabled
(II) RADEONHD(0): RandR 1.2 enabled, ignore the following RandR disabled
message
.
(II) RADEONHD(0): Mapping DIG2 encoder to KLDSKP_LVTMA
(II) RADEONHD(0): On Crtc 0 Setting 60.0 Hz Mode: Modeline "1920x1080"
148.50
1920 2008 2052 2200 1080 1084 1089 1125 +hsync -vsync
None
(II) RADEONHD(0): RHDAudioSetClock: using UNIPHY_KLDSKP_LVTMA as clock
source wi
th 148500 khz
(II) RADEONHD(0): Using ACR timing N=4096 CTS=148500 for frequency 32000
(II) RADEONHD(0): Using ACR timing N=6272 CTS=165000 for frequency 44100
(II) RADEONHD(0): Using ACR timing N=6144 CTS=148500 for frequency 48000
(II) RADEONHD(0): RHDAudioSetSupported: config 0x60040 codec 0x1
(**) Option "dpms"
(**) RADEONHD(0): DPMS enabled
(WW) RADEONHD(0): Option "PreferredMode" is not used
(--) RandR disabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
<--------------- xorg.conf ----------------->
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "ZapWarning" "on"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
Load "dri"
EndSection
Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "microsoftpro"
Option "XkbRules" "xfree86"
EndSection
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "8"
Option "Device" "/dev/input/mice"
Option "Name" "MX 900 Bluetooth"
Option "Protocol" "ExplorerPS/2"
Option "Vendor" "Logitech"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
DisplaySize 1040 580 <<<<<<<<<<<<<<<<<<<<<<<<< Manual Edit here
HorizSync 66-69
Identifier "Monitor[0]"
ModelName "1920X1080@60HZ"
Option "DPMS"
Option "PreferredMode" "1920x1080"
VendorName "--> LCD"
VertRefresh 59-61
UseModes "Modes[0]"
EndSection
Section "Modes"
Identifier "Modes[0]"
EndSection
Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1920x1080" "1680x1050" "1600x1024" "1600x1000"
"1400x1050" "1600
x900" "1280x1024" "1440x900" "1280x960" "1366x768" "1360x768" "1280x800"
"1152x8
64" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600"
"768x576" "
640x480"
Virtual 3840 1200
EndSubSection
SubSection "Display"
Depth 16
Modes "1920x1080" "1680x1050" "1600x1024" "1600x1000"
"1400x1050" "1600
x900" "1280x1024" "1440x900" "1280x960" "1366x768" "1360x768" "1280x800"
"1152x8
64" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600"
"768x576" "
640x480"
Virtual 3840 1200
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1080" "1680x1050" "1600x1024" "1600x1000"
"1400x1050" "1600
x900" "1280x1024" "1440x900" "1280x960" "1366x768" "1360x768" "1280x800"
"1152x8
64" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600"
"768x576" "
640x480"
Virtual 3840 1200
EndSubSection
SubSection "Display"
Depth 8
Modes "1920x1080" "1680x1050" "1600x1024" "1600x1000"
"1400x1050" "1600
x900" "1280x1024" "1440x900" "1280x960" "1366x768" "1360x768" "1280x800"
"1152x8
64" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600"
"768x576" "
640x480"
Virtual 3840 1200
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
Section "Device"
BoardName "ATI Radeon HD 3200 Graphics"
Driver "radeonhd"
Identifier "Device[0]"
Option "monitor-DVI-D_1" "Monitor[0]"
Screen 0
VendorName "ATI"
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
Section "Extensions"
EndSection
--
To unsubscribe, e-mail: radeonhd+unsubscribe(a)opensuse.org
For additional commands, e-mail: radeonhd+help(a)opensuse.org
3
2