xserver-xorg-video-radeonhd: Changes to 'debian-experimental'
.gitignore | 3
ChangeLog | 771 ++++++++++++++++++++++
Imakefile | 8
configure | 5
configure.ac | 5
debian/changelog | 14
src/AtomBios/includes/CD_Common_Types.h | 6
src/AtomBios/includes/ObjectID.h | 448 ++++++++++++
src/Imakefile | 93 ++
src/rhd.h | 81 +-
src/rhd_atombios.c | 1106 +++++++++++++++++++++++++++++---
src/rhd_atombios.h | 10
src/rhd_card.h | 55 +
src/rhd_connector.c | 81 +-
src/rhd_connector.h | 44 -
src/rhd_crtc.c | 3
src/rhd_cursor.c | 347 +++++-----
src/rhd_cursor.h | 25
src/rhd_driver.c | 80 +-
src/rhd_helper.c | 33
src/rhd_i2c.c | 406 +++++++----
src/rhd_id.c | 352 ++++++----
src/rhd_lvtma.c | 13
src/rhd_modes.c | 18
src/rhd_monitor.c | 126 +--
src/rhd_monitor.h | 7
src/rhd_output.h | 16
src/rhd_pll.c | 268 +++++--
src/rhd_pll.h | 10
src/rhd_regs.h | 82 +-
src/rhd_tmds.c | 8
utils/conntest/.gitignore | 2
utils/conntest/Makefile | 2
utils/conntest/README | 14
utils/conntest/rhd_conntest.c | 965 ++++++++++++++++++++-------
35 files changed, 4416 insertions(+), 1091 deletions(-)
New commits:
commit d5f4d3194082d13de62af17c1b0460274af1d382
Author: Julien Cristau <jcristau@debian.org>
Date: Sun Oct 7 23:59:50 2007 +0200
Update debian/changelog.
diff --git a/debian/changelog b/debian/changelog
index 286e616..34ec3b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xserver-xorg-video-radeonhd (0.0.1+git20071006-2) UNRELEASED; urgency=low
+
+ * Bring back the changes from 0.0.1+git20070920-2 which were missing from
+ 0.0.1+git20071006-1.
+
+ -- Julien Cristau <jcristau@debian.org> Sun, 07 Oct 2007 23:54:31 +0200
+
xserver-xorg-video-radeonhd (0.0.1+git20071006-1) experimental; urgency=low
* New upstream release
commit a52ad2b6da2a68e4b120928411f0ac98329c91d1
Author: Julien Cristau <jcristau@debian.org>
Date: Sun Oct 7 23:53:06 2007 +0200
autoreconf
diff --git a/configure b/configure
index b42e817..b463643 100755
--- a/configure
+++ b/configure
@@ -20879,6 +20879,9 @@ _ACEOF
fi
+SAVED_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $XORG_CFLAGS"
+
# Check whether MonRec has a reducedblanking member.
{ echo "$as_me:$LINENO: checking for MonRec.reducedblanking" >&5
echo $ECHO_N "checking for MonRec.reducedblanking... $ECHO_C" >&6; }
@@ -21099,6 +21102,8 @@ _ACEOF
fi
+CFLAGS="$SAVED_CFLAGS"
+
# Check whether --enable-atombios was given.
if test "${enable_atombios+set}" = set; then
enableval=$enable_atombios; do_atombios="$enableval"
commit 98aaff67c7b498fab34a824d82aa7901b8f84cf9
Author: Julien Cristau <jcristau@debian.org>
Date: Sun Oct 7 23:50:23 2007 +0200
Update ChangeLog.
diff --git a/ChangeLog b/ChangeLog
index d8d020e..3f447f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,774 @@
+commit d82090a1c82a4c57e995cdbf24ecc4f4164646c1
+Author: Matt Kraai <kraai@ftbfs.org>
+Date: Sat Oct 6 19:02:53 2007 +0200
+
+ Call RHDMonitorInit() even if there is no DDC for the Connector.
+
+ We don't solely depend on DDC any more to get mode for a
+ connector. For panels we may use data pulled from AtomBIOS.
+ Therefore we handle this inside RHDMonitorInit().
+
+commit 7a419e06d5aa539a538df7f8cf2f30c241a39bb7
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Sat Oct 6 10:40:24 2007 +0200
+
+ If DDC fails try to get EDID or mode data from AtomBIOS.
+
+commit 01b6a56fb46fee28c2e058b5183d3f71dd4be974
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Sat Oct 6 01:25:54 2007 +0200
+
+ Cursor cleanup: Moving all locks to interface functions.
+
+commit aa6ef99c879b398c1daa9b84f96c907e070381a8
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Sat Oct 6 01:19:00 2007 +0200
+
+ Cursor cleanup: Nuke export of bit-banging interface.
+
+ These functions were never intended to be called outside cursor.c, or to be
+ overloaded. Calling function pointers also disables inlining by the compiler.
+ Found some more reasonable function names for some.
+ Some whitespace cleanup.
+ Added missing rhdRestoreCursor() prototype.
+
+commit 1ba6ec693c8f8a2eae018160b36659d45bcae274
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Sat Oct 6 00:59:52 2007 +0200
+
+ Cursor cleanup: Move functions to right place. Adjust comments.
+
+commit c8780b2f3b75cec582126ace85137fdf2208bb3d
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Sat Oct 6 00:51:41 2007 +0200
+
+ On reloading cursor, do not only upload image, but also set cursor address.
+
+commit 1947ab3ed81835a7ffb95ae0a7056766d24c90d2
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Sat Oct 6 00:29:35 2007 +0200
+
+ Correct cursor image saving.
+
+ Calculate correct cursor offset.
+ Calculate correct cursor height.
+ Verify against correct videoRam (Kbytes).
+
+commit badc3389e46c069a2570687bc36388724db2d19b
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Sat Oct 6 00:15:59 2007 +0200
+
+ Fix compilation (oops). Also saving cursor does not depend on CursorInfo.
+
+commit 842701653a379692cc489cd4200bdef40baa8730
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Fri Oct 5 17:48:15 2007 +0200
+
+ Cleanup: cursor.h no longer necessary.
+
+commit 90ea9d3c6d6f37bc99592f993610271a1f6bf068
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Fri Oct 5 17:47:40 2007 +0200
+
+ Only save cursor image if address is in mapped memory range.
+
+commit 0288ac3d6a87d38983f60df7e5f398200dc58354
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Fri Oct 5 17:43:08 2007 +0200
+
+ Move Cursor Save & Restore to right places. Nuke HideCursor on LeaveVT.
+
+commit 4dea386f003e2b9f0c0f70dd594ce13a0b033bfc
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Fri Oct 5 17:40:14 2007 +0200
+
+ Mainly reverted commit 0a546480a5c2e0c66f746a91cb0b5f592c06b357.
+
+ This mixed up save & restore.
+ Save is used for saving GPU state when *entering* the Xserver, Restore for
+ restoring the old state when leaving. That includes the cursor (there could be
+ a cursor active on VTs - though unlikely).
+ Upon entering we save state, then *reload* the cursor image we just *know* to
+ be correct. No need for saving that on LeaveVT.
+
+commit a777515ee4016b86d2993291ec8ab7c5ad354468
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Fri Oct 5 17:37:39 2007 +0200
+
+ Fixed ambiguous else.
+
+commit e325851486903e911cfb780849a9a471e8f0b54f
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Fri Oct 5 05:50:40 2007 +0200
+
+ Don't validate the duty cycle on fixed device provided modes.
+
+ Modes provided by the device itself should not be validated
+ against common display standards. Most validations can be
+ circumvented by not passing ranges to validate against.
+ This is not true for the dutry cycle.
+ While a 10 percent duty cycle seems low for a CRT device
+ (which should not be below 20 percent) it may too high for
+ modern display panels.
+
+commit 33bfaca09733bd1565b11408caf2a92b681b0631
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Fri Oct 5 05:50:01 2007 +0200
+
+ Get LVDS panel timing from AtomBIOS.
+
+ AtomBIOS contains LVDS panel timngs int the LVDS info table.
+ All versions contain a structure with timing parameters.
+ Tables starting with version 2 may also contain additional
+ records which may contain 'fake' EDID blocks.
+
+commit cd8446797a04da397773fc23e0c90924a49fd5ed
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Oct 4 12:35:21 2007 +0200
+
+ Add initial support to query LVDS_Info tables.
+
+commit 6c9894840d84b41b73274885d5c3beed8ed2b2e9
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Oct 4 01:18:29 2007 +0200
+
+ Increase loop counter in R5xxI2CStatus().
+
+ This fix should give more reliable I2C readings on some hardware.
+
+commit 0a546480a5c2e0c66f746a91cb0b5f592c06b357
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Fri Oct 5 05:33:08 2007 +0200
+
+ Fix cursor vt switch handling including segfault.
+
+ Save() and Restore() are used to save and restore text mode.
+ Therefore we cannot call CursorSave() and CursorRestore()
+ from Save() and Restore() if we want to restore the cursor when
+ vt-switching back to X.
+ Cursor->StoreAddress read from D1CUR_SURFACE_ADDRESS does
+ not hold the cursor image offset with respect to the framebuffer
+ start but with respect to the memory address 0.
+ Using it as an offset causes segfault.
+
+commit 75f8b571ebc325f9610b582cdee71327492037ac
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Thu Oct 4 21:08:08 2007 +0200
+
+ Upload cursor image again on EnterVT.
+
+commit 7e709ff356ced2ba69dca934be5dc291742bbc44
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Thu Oct 4 21:07:30 2007 +0200
+
+ Enable cursor save&restore on VT switch.
+
+commit 0a077858b8e5e29fc6fc88333125f48f93b065d1
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Thu Oct 4 21:06:23 2007 +0200
+
+ Fix typo in cursor state save.
+
+commit 3b5945d1ffc7bd05ab696835f79d6a5cba213558
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Thu Oct 4 17:21:42 2007 +0200
+
+ Typo & type fixes.
+
+commit afee2f8bce5db7ee756bf4181ea9a43c53ad892d
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Thu Oct 4 17:15:11 2007 +0200
+
+ Implement full cursor save/restore including image.
+
+commit f6b7bf711ffa8c2914a787587ce2d3d4d60a52d1
+Author: Matthias Hopf <mhopf@suse.de>
+Date: Thu Oct 4 16:26:55 2007 +0200
+
+ Use new RHDPTRI macro for accessing RHDRec by scrnIndex. Less typing.
+
+commit 42e3f8b8479233943ed5a745a7786b944510de59
+Author: Stefan Dirsch <sndirsch@suse.de>
+Date: Thu Oct 4 11:13:44 2007 +0200
+
+ Added some new R600/RV610/RV630 IDs.
+
+ IDs for Radeon HD 2900 GT (R600), FireGL V7600/V8600/V8650 (R600),
+ FireGL V4000 (RV610) and FireGL V3600/V5600 (RV630).
+
+commit 0cfe65ff3e534b39baf10e5a077e95cc64e61196
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Oct 4 00:18:35 2007 +0200
+
+ Fix a bug that prevents the identification of bogus table headers.
+
+commit 9a0098f182df5e3b6c70b79e6fae6abea75d8974
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 23:45:36 2007 +0200
+
+ Fixing error message...
+
+commit e3546f14585ed5abc06326e8d00c29ad4782c33b
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 23:40:05 2007 +0200
+
+ Replacing ObejectID.h with one that contains the correct license.
+
+ ATI pointed out to me that the file added earlier has not
+ received the MIT license, yet. This commit fixes this now.
+
+commit 2386584522c3f28b7c42ac1096d471ad577f4b6d
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 23:17:23 2007 +0200
+
+ Panel information is currently not available. Therefore bail - do not crash.
+
+commit 87c0d95477a4e4662a50f07fe3fcd0ca3569d0bb
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 23:16:13 2007 +0200
+
+ Fix singed/unsinged mismatch.
+
+commit 7713ffb0173587cae203154e9994b801e3e60884
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 22:09:48 2007 +0200
+
+ Removing warning about unknown card.
+
+commit 0b7dedb99c25b8777e1eef866a00a9206c2647f1
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 22:09:15 2007 +0200
+
+ Attempt to fix possible cause of a crash. Also adding more debug output.
+
+commit e31421f50acb2769d40c4616a716238f90b0007d
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 20:17:10 2007 +0200
+
+ Adding missing header file.
+
+commit 5c9efba68f14e85fdaa49185700e6bc548cf6236
+Author: Marcin Garski <mgarski@post.pl>
+Date: Wed Oct 3 14:28:35 2007 +0200
+
+ Add missing space after 'Bandwidth:' in log output.
+
+commit fdd10fddc83dcc2f3aff6d4c3114e31658c3cb97
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 13:55:27 2007 +0200
+
+ Fix DeviceID to index mapping.
+
+ The DeviceIDs are bit values.
+
+commit 59f1ab5cea5ec52e3c057a9c778e0c4724873f1b
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 11:18:19 2007 +0200
+
+ Add device tags to connectors generated from the SupportedDevices table.
+
+commit 471e32e65c96d40469cd5bedb9566403a70a8f35
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 10:58:44 2007 +0200
+
+ Add support for ATOM_CONNECTOR_DEVICE_TAGs to connector table parser.
+
+ The ATOM_CONNECTOR_DEVICE_TAGs provide output names. These are
+ useful for debugging and can be appended to connector names.
+
+commit 84ea7cb6e0854975ca406f814bd603dfcc5ec6ea
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Oct 3 09:01:53 2007 +0200
+
+ Make debug message printing more consistent.
+
+ A function gets added that allows to continue a debug message on
+ the same line (ie. leaves out the message status and scrnIndex).
+
+commit 60f831dadd9b975b498f0a7242d49651178296ee
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Tue Oct 2 20:49:55 2007 +0200
+
+ Add some sanity checks on offset values and indices obtained AtomBIOS.
+
+ Also captialized the text representation of output
+ and connector names.
+
+commit d835284814724fffeaac3d41701b3074be87e801
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Tue Oct 2 13:17:30 2007 +0200
+
+ Add Object_Header parsing for connector tables for R6xx.
+
+commit 4e38394784f4b7aaae1f5cff9d6ca62add175129
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Tue Oct 2 08:27:18 2007 +0200
+
+ If connector information from AtomBIOS cannot be obtained try to fall back to list.
+
+commit 4a07e036abca23fecd17fa98401e0723f83aec6d
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Tue Oct 2 07:44:53 2007 +0200
+
+ Fixed AtomBIOS HPD parsing for SupportedDevices table.
+
+commit 51f0b804cfd411dd8347214e4f96e2f5cecce11d
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Tue Oct 2 07:36:26 2007 +0200
+
+ Fixed sig11 in verbose mode.
+
+commit 9ec9249347c1634abef1acff63d7e5ba0f0ac657
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Tue Oct 2 07:12:48 2007 +0200
+
+ Add connector table parsing for the SupportedDevices Table (R5xx).
+
+commit c2b4309a95b061028ca840431b1e9e476d33f04e
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Mon Oct 1 14:05:24 2007 +0200
+
+ Add function to print connector table.
+
+ Also added a connector, outputs and ddc types for future use.
+
+commit 4b3ed6b870936fcd61c4c89183ce74b1e286110f
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Mon Oct 1 07:49:18 2007 +0200
+
+ Add framework for connector table parser.
+
+commit 0e24539c417e0d6bc94afeea351c86dff1f86be4
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Tue Oct 2 08:12:36 2007 +0200
+
+ Make local functions static.
+
+commit a690bb78e225a97b769457b8c87e9146e2ea2a2b
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Sun Sep 30 21:24:09 2007 +0200
+
+ Cleanup in rhd_atombios.c: removed superfluous function arguments.
+
+ The scrnIndex is contained in the atomBIOSHandleRec,
+ therefore we don't need to pass it as a separate
+ argument.
+ Also hook up orphaned rhdAtomBIOSTmdsInfoQuery().
+
+commit 21444ba446807a276d0378fd988bfd31bc824c04
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Sun Sep 30 19:21:58 2007 +0200
+
+ Prepare code for connector table parsing.
+
+ - Define struct Connectors separately.
+ - Replace defines by enums which provides for
+ better compiler checking.
+
+commit 9085d2e91f3b903df6c6c58dc2994a330f34ec70
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Sun Sep 30 19:16:13 2007 +0200
+
+ Replacing hex loop counter by decimal.
+
+commit c344ef1062f924892795bb51d9f55cc131b598bf
+Author: Stefan Dirsch <sndirsch@suse.de>
+Date: Wed Oct 3 11:16:51 2007 +0200
+
+ Fixed INCLUDES when using X.Org SDK.
+
+ Get rid of specifying CDEBUGFLAGS=-I/usr/X11R6/lib/Server/include.
+
+commit 718e78770e73068053ca748638716c7ea2656681
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Tue Oct 2 15:06:23 2007 +0200
+
+ conntest: fix logical error in LVDS
+
+ Also add some info in the readme about the secondary function of
+ most ATI cards, and how these should be ignored.
+
+commit 9c7bb4ad51747bc498573cd287cf1fbc1686816e
+Author: Matthieu Herrb <matthieu.herrb@laas.fr>
+Date: Mon Oct 1 23:58:13 2007 +0200
+
+ Fix Atombios build on OpenBSD.
+
+commit 113dc16761ae66ba46b2e694415b8733a9e5ba10
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Mon Oct 1 23:34:36 2007 +0200
+
+ ID: Reverse connectors on ATI Radeon HD 2600XT DDR4
+
+ Also fix the ChipID strings for rv6x0.
+
+commit fe024e1c2d0623dd95e4b88260a276041b198ec3
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Mon Oct 1 21:39:10 2007 +0200
+
+ Fix PLL on rv6x0 and X1300.
+
+ Also improve PLL Save/Restore.
+
+commit 77c7f3f06aebde6d715fbdfc0da2dbb9e7e52279
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Fri Sep 28 18:51:37 2007 +0200
+
+ Fix broken fp calculation in checking for reduced blanking.
+
+ Comparing a double with an int... no workies... So just multiply both
+ ends of the comparison by 10, and avoid fp altogether.
+
+ Reported by Marcin Garski.
+
+commit f22a90dc43eac6ba20d4ba1963778b68c149a4a3
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Fri Sep 28 13:53:16 2007 +0200
+
+ ID: Added docking station for Lenovo Thinkpad T60 (2007)
+
+ Reported by Ferry Huberts.
+
+commit 4316fdee3d87930161d5c263d278d029cb4a5394
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Fri Sep 28 13:49:42 2007 +0200
+
+ ID: Sapphire X1650 Pro AGP
+
+ Reported by Simon Munton.
+
+commit 35a9a6910eee4d1ae929538ff94b3916fe2f2c6c
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Fri Sep 28 12:42:11 2007 +0200
+
+ ID: ATI Radeon HD 2600 XT
+
+ Reported by "Swappp"
+
+commit b0587971765d45c8832768f468f3a5219af19418
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Fri Sep 28 01:29:05 2007 +0200
+
+ Increase loop counter on I2C status poll loops.
+
+commit cb54ab17715b7d2ba8b21986f657f5353c99dd7a
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Fri Sep 28 00:46:06 2007 +0200
+
+ ID: Fix DDC bus for Lenovo Thinkpad T60p.
+
+ Reported by Thomas Schmidt.
+
+commit 069107c19cc50f0de97ac4c0c389058dffecef73
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Thu Sep 27 22:10:24 2007 +0200
+
+ ID: Powercolor X1800XT
+
+ Reported by Paul Stegeman.
+
+ This is the grandaddy of all R500s, an actual 0x7100, or X1800...
+ Ain't she pretty?
+
+commit a3741c516a33d7b968802ad4ef609f5985fed12b
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Sep 27 21:40:12 2007 +0200
+
+ Fixed wording in README.
+
+commit 744191757e4de2199787ba87be8fa443af9a91f4
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Sep 27 21:38:16 2007 +0200
+
+ Put scaler value in hex.
+
+commit 651e776d2cd9aaaef4782e6cf600cc35cc0c9cc7
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Sep 27 21:29:02 2007 +0200
+
+ Fixed I2C probing on R5xx.
+
+ The R5xx I2CWriteRead() function didn't handle the case
+ where neither write nor read data is available correctly.
+ In this situation only the slave address should be written.
+ R5xx appearantly cannot deal with a one byte slave address
+ and zero data bytes. Therefore we write one dummy byte
+ (i.e. an index value) after the address.
+
+commit fe08f8e56f97697012e77ccf5f28ccb0adfcee19
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Sep 27 21:25:26 2007 +0200
+
+ Fixed order of magnitude of SCL, added correct prescale calculation for R6xx.
+
+ R6xx should be in kHz units.
+ The I2C prescale value is the ratio of the XTAL clock (reference clock)
+ to the SCL clock. The reference clock value is read from AtiomBIOS.
+
+commit b5ec5d2cc84b0017a1bc49fe6d9809343c6824cc
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Sep 27 21:11:54 2007 +0200
+
+ Adding AtomBIOS support to conntest.
+
+ Engine and XTAL frequencies are kept in AtomBIOS tables.
+ These values are required to calculate DDC clocks correctly.
+ This patch also fixes a typo which caused all DDC lines
+ on R6xx to report a connected DDC slave.
+
+commit 60927acdc82abb68cc7f2c8547dcb1d667226e9a
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Thu Sep 27 21:09:15 2007 +0200
+
+ Updating README.
+
+ Adding information on how to dump the VBIOS.
+
+commit 2a23adcc7bdd6ee053215da7a79cff71a7fb5e47
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 22:32:32 2007 +0200
+
+ Added I2C prescale calculation for R5xx.
+
+ R5xx prescale is still pending further information from ATI.
+
+commit 2f6f2cbc0860fed45bdbd2b0aff5d4b66a24aedc
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Thu Sep 27 18:20:55 2007 +0200
+
+ ID: MSI RX1650 Pro
+
+ Reported by Thomas Prochaska
+
+commit 445c534dd2f3c71c7609ccfbe5ab6cd70918de7e
+Author: Stefan Dirsch <sndirsch@suse.de>
+Date: Thu Sep 27 17:20:19 2007 +0200
+
+ Removed RS600 IDs, since these are still R400 based and therefore
+ not supported by this driver.
+
+commit 9396e84ddfa5b2da39bf95dde2755f3a4edbb63f
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Thu Sep 27 16:00:26 2007 +0200
+
+ ID: Fix Asus z96j to read Asus W3J/Z96
+
+ Reported by Nicholas Trangez.
+
+commit 2d2abf652079a6f390dfa0a41bce71eb86eebcd3
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Thu Sep 27 12:58:41 2007 +0200
+
+ ID: Dell Inspiron 9400
+
+ Reported by Jens Lody.
+
+commit 9595c78ea9aa7a76771b242ee7ce10b75455e041
+Author: Stefan Dirsch <sndirsch@suse.de>
+Date: Wed Sep 26 23:28:42 2007 +0200
+
+ Adjusted RHDIdentify() to chipset name review and new Device IDs.
+
+commit 53043ea9798c2075773ed9c8e456effac2c81c68
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Wed Sep 26 22:43:10 2007 +0200
+
+ ID: HP/Compaq nc8430
+
+ Reported by Lukas Hertig.
+
+commit f6dddcae7cb0331b744f9134dd3ae951dcb18ae0
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Wed Sep 26 22:22:41 2007 +0200
+
+ Adjust active output selection to better cope with missing panel EDID.
+
+commit b3db776e5030600ec2f3989a72d54050f94445f3
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 22:17:30 2007 +0200
+
+ More missing braces.
+
+commit 7a46aac044cf89230eeeff8e67ed02501f18457f
+Author: Stefan Dirsch <sndirsch@suse.de>
+Date: Wed Sep 26 22:08:19 2007 +0200
+
+ Forgot two Device IDs in rhd_conntest.
+
+commit 2b42588b983ca192d80112ed143826786180f597
+Author: Stefan Dirsch <sndirsch@suse.de>
+Date: Wed Sep 26 22:05:36 2007 +0200
+
+ Added missing chipsets to rhd_conntest.
+
+commit 54ba51192ec9d58e893177df462827cda3d92697
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Wed Sep 26 21:40:18 2007 +0200
+
+ Remove panel resolution entries from the id table.
+
+commit 11fb615181d1221c5ca660c204fd741e583e58bc
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Wed Sep 26 21:26:25 2007 +0200
+
+ ID: Dell Inspiron 6400
+
+ Reported by Markus Gross.
+
+commit d0f13e82aeb1d6fc37c5794165d32af7d3b38249
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 21:13:50 2007 +0200
+
+ Fully eliminated all uses of regOR: use RHDRegMask() instead.
+
+commit 86c81cb4b96fb87fabecbddfeeb6faffc67c2a39
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 21:06:34 2007 +0200
+
+ Added missing braces.
+
+commit 6434a93e29d51261ac57550e167ebcbbb349bf94
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Wed Sep 26 20:45:39 2007 +0200
+
+ ID: Toshiba Satellite A100-237
+
+ Reported by Marcin Garski.
+
+commit 191287132b6c1291e4eb4e1004d9578800214532
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Wed Sep 26 20:15:11 2007 +0200
+
+ LVTMA: alter M56 check to only stop anything >= RS690
+
+commit 15501e07f4c0c45578731fb7a333689be19989a1
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 19:50:47 2007 +0200
+
+ Fixed typo in debug message print function.
+
+commit cb53afa34aa8adb17e82ff1dfadcd915e298c9a4
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 19:57:15 2007 +0200
+
+ Added debugging support for for HW I2C read.
+
+commit be2a4ae3ff968678b5cb1f5dc33f5536e2906395
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 16:51:13 2007 +0200
+
+ Fixed a non-fatal typo in an enum name.
+
+commit 50204482a1af15884975ad2215dfb213ad63de69
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 16:50:22 2007 +0200
+
+ Replaced bit values by symbolic names.
+
+commit 06351e4fca59417f521becd1052fc5bd1828e650
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 16:19:11 2007 +0200
+
+ R5xx only have 3 HW I2C lines for DDC.
+
+commit 1c9cd702dd39684ee9ab1b683ec6bcfd994e7f0f
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Fri Sep 21 10:36:46 2007 +0200
+
+ Added BIOS dumping to conntest.
+
+ Made code slightly more consistent.
+
+commit 3e956f0586e1e3321c728d8e205048cb01b33169
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 19:45:57 2007 +0200
+
+ R5xx only have 3 HW DDC I2C lines.
+
+ Also: making function names more uniform.
+
+commit 6db7c61ace9d91f7be6e3be35ff3231296af4abc
+Author: Egbert Eich <eich@freedesktop.org>
+Date: Wed Sep 26 14:33:49 2007 +0200
+
+ Added symbolic register and bit names for R5xx I2C regs.
+
+ Some I2C registers for R6xx had conflicting names.
+ Separated namespaces by prepending an R5/R6.
+
+commit 2983b97577be532857ff83f80513028794e2fe55
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Mon Sep 24 04:01:32 2007 +0200
+
+ ID: Lenovo Thinkpad T60 (2008)
+
+ Reported by Felipe Contreras.
+
+ This report includes the DVI-D Connector on the docking station. This is the
+ first device with three seperate connectors, so it will be interesting to
+ see how my code holds up here :)
+
+commit 77bf0a532e310d3413dc297b0d602c420c1f7b17
+Author: Evgeni Golov <sargentd@die-welt.net>
+Date: Wed Sep 26 19:02:04 2007 +0200
+
+ Fix up RHDCardIdentify bail-out message.
+
+commit 05e23a598fcf119e7d282d797735f5eda99cfdd7
+Author: Matt Kraai <kraai@ftbfs.org>
+Date: Wed Sep 26 16:20:54 2007 +0200
+
+ Fix tests for MonRec members by including the right CFLAGS.
+
+commit 30a4e8d77dc6267858df446059a883fc9b11fe16
+Author: Matt Kraai <kraai@ftbfs.org>
+Date: Wed Sep 26 16:13:33 2007 +0200
+
+ Fix gitignore properly for the conntest Makefile.
+
+commit 7073eddcc78f64fc60843b805343c3b16756df08
+Author: Stefan Dirsch <sndirsch@suse.de>
+Date: Wed Sep 26 10:12:17 2007 +0200
+
+ Build support for imake based X.Org releases.
+
+ Added Imakefiles required for X.Org 6.X. Define _X_EXPORT to fix
+ build on older X.Org releases.
+
+commit 458577c4ac45ab2aedeb92f76c2dce2e6eee2aa6
+Author: Stefan Dirsch <sndirsch@suse.de>
+Date: Wed Sep 26 00:47:02 2007 +0200
+
+ Added missing chipsets according to fglrx driver.
+
+ Added missing chipset for RV505, M54, RV550, RV560, RV570, RS600,
+ RS740, RV610, M72, RV630 and M76 chipset families according to
+ fglrxko_pci_ids.h of fglrx driver (versions 8.40.4 + 8.41.7).
+
+commit d8f48cc772b443643264372be9d981e50943b82e
+Author: Alan Coopersmith <alan.coopersmith@sun.com>
+Date: Tue Sep 25 14:24:26 2007 -0700
+
+ Fix typedefs to work on Solaris
+
+commit 15130f7c7ff4779f69d5bbd906762615aa3fc4c0
+Author: Stefan Dirsch <sndirsch@shannon.suse.de>
+Date: Tue Sep 25 08:53:25 2007 +0200
+
+ Chipset name review.
+
+ Reviewed names in RHDPCIchipsets[]. Adjusted and reordered RHD_CHIPSETS/
+ RHDChipsets[] accordingly. The information is based on fglrxko_pci_ids.h
+ of fglrx driver (versions 8.40.4 + 8.41.7).
+
+commit 198f49f3de8307932d69d933dd7802b256e5e916
+Author: Luc Verhaegen <libv@skynet.be>
+Date: Mon Sep 24 02:47:24 2007 +0200
+
+ ID: Asus Z96j
+
+ Reported by George Wu.
+
commit 3fb794a2a5b6981a8cb17198ab06f1077b286c4c
Author: Yanko Kaneti <yaneti@declera.com>
Date: Thu Sep 20 22:50:30 2007 +0200
commit 323fb4dea6eb968d254cc2ad5ccf338877eac4fe
Author: David Nusinow <dnusinow@debian.org>
Date: Sat Oct 6 18:20:08 2007 -0400
* New upstream release
+ Provides support for the MacBook Pro. Thanks Matt Kraai. closes: #445551
diff --git a/debian/changelog b/debian/changelog
index 133572d..ff15aa0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xserver-xorg-video-radeonhd (0.0.1+git20071006-1) experimental; urgency=low
+
+ * New upstream release
+ + Provides support for the MacBook Pro. Thanks Matt Kraai. closes: #445551
+
+ -- David Nusinow <dnusinow@debian.org> Sat, 06 Oct 2007 18:18:49 -0400
+
xserver-xorg-video-radeonhd (0.0.1+git20070920-1) experimental; urgency=low
* New upstream release
commit d82090a1c82a4c57e995cdbf24ecc4f4164646c1
Author: Matt Kraai <kraai@ftbfs.org>
Date: Sat Oct 6 19:02:53 2007 +0200
Call RHDMonitorInit() even if there is no DDC for the Connector.
We don't solely depend on DDC any more to get mode for a
connector. For panels we may use data pulled from AtomBIOS.
Therefore we handle this inside RHDMonitorInit().
diff --git a/src/rhd_driver.c b/src/rhd_driver.c
index 8281023..8b4d939 100644
--- a/src/rhd_driver.c
+++ b/src/rhd_driver.c
@@ -1245,8 +1245,7 @@ rhdModeLayoutSelect(RHDPtr rhdPtr, char *ignore)
Connector = Output->Connector;
- if (Connector->DDC)
- Monitor = RHDMonitorInit(Connector);
+ Monitor = RHDMonitorInit(Connector);
if (!Monitor && (Connector->Type == RHD_CONNECTOR_PANEL)) {
xf86DrvMsg(rhdPtr->scrnIndex, X_WARNING, "Unable to attach a"
commit 7a419e06d5aa539a538df7f8cf2f30c241a39bb7
Author: Egbert Eich <eich@freedesktop.org>
Date: Sat Oct 6 10:40:24 2007 +0200
If DDC fails try to get EDID or mode data from AtomBIOS.
diff --git a/src/rhd_monitor.c b/src/rhd_monitor.c
index 96afd4c..571b3ac 100644
--- a/src/rhd_monitor.c
+++ b/src/rhd_monitor.c
@@ -216,7 +216,11 @@ RHDMonitorInit(struct rhdConnector *Connector)
RHDFUNC(Connector);
/* TODO: For now. This should be handled differently. */
- if (!Connector->DDC) {
+ if (Connector->DDC) {
+ EDID = xf86DoEDID_DDC2(Connector->scrnIndex, Connector->DDC);
+ }
+
+ if (!EDID) {
#ifdef ATOM_BIOS
if (Connector->Type == RHD_CONNECTOR_PANEL) {
RHDPtr rhdPtr = RHDPTR(xf86Screens[Connector->scrnIndex]);
@@ -233,19 +237,19 @@ RHDMonitorInit(struct rhdConnector *Connector)
} else
return NULL;
- } else
+ }
#endif
- return NULL;
- } else
- EDID = xf86DoEDID_DDC2(Connector->scrnIndex, Connector->DDC);
+ }
- if (!EDID && !mode) {
+ if (!EDID && !mode) { /* still no information? */
if (Connector->Type != RHD_CONNECTOR_PANEL)
xf86DrvMsg(Connector->scrnIndex, X_INFO,
- "No EDID data found on connector \"%s\"\n", Connector->Name);
+ "No EDID data found on connector \"%s\"\n",
+ Connector->Name);
else
xf86DrvMsg(Connector->scrnIndex, X_INFO,
- "No EDID data nor mode found on panel connector \"%s\"\n", Connector->Name);
+ "No EDID data nor mode found on panel connector "
+ "\"%s\"\n", Connector->Name);
return NULL;
}
commit 01b6a56fb46fee28c2e058b5183d3f71dd4be974
Author: Matthias Hopf <mhopf@suse.de>
Date: Sat Oct 6 01:25:54 2007 +0200
Cursor cleanup: Moving all locks to interface functions.
diff --git a/src/rhd_cursor.c b/src/rhd_cursor.c
index 7b4725b..a1d11ba 100644
--- a/src/rhd_cursor.c
+++ b/src/rhd_cursor.c
@@ -176,8 +176,6 @@ restoreCursor(struct rhdCursor *Cursor)
return;
}
- lockCursor(Cursor, TRUE);
-
RHDRegWrite(Cursor, Cursor->RegOffset + D1CUR_CONTROL,
Cursor->StoreControl);
RHDRegWrite(Cursor, Cursor->RegOffset + D1CUR_SURFACE_ADDRESS,
@@ -192,8 +190,6 @@ restoreCursor(struct rhdCursor *Cursor)
if (Cursor->StoreImage)
memcpy ((CARD8 *) rhdPtr->FbBase + Cursor->StoreOffset,
Cursor->StoreImage, Cursor->StoreImageSize);
-
- lockCursor(Cursor, FALSE);
Reply to: