New branch 'debian-experimental' available with the following commits: commit 90a6307049cf9c4a6fea4a7ccf4fd82ac0b2350c Author: David Nusinow <[EMAIL PROTECTED]> Date: Tue Sep 18 23:02:48 2007 -0400
Fix package version and capitalization of r5xx/r6xx Prepare changelog for upload to experimental commit 865ce99640c6244eddddaa4794ad2f2975381541 Author: David Nusinow <[EMAIL PROTECTED]> Date: Tue Sep 18 22:50:27 2007 -0400 Add packaging commit 9ffef0fb88318a12025fbcb90bb654cf5fb902ae Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 18 15:29:31 2007 +0200 Replaced the MAILINGLIST placeholder by actual ML address. The printing of the bug report message has been moved to a separate function as it may be needed in more places. Also a pointer to the bugzilla has been added. commit 4958c3651efd03c0432cc61d6b6594514f7df13d Author: Kyle McMartin <[EMAIL PROTECTED]> Date: Tue Sep 18 15:03:53 2007 +0200 Fixed spelling typo: no inclusion of int10 when AtomBIOS parser present. commit 3944252b9f67bf7d5787473c979f1b933bfb37d2 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Tue Sep 18 02:44:07 2007 +0200 Add H/VDisplay entries to the LVDS entry of the card table. Plus alter handling of panel monitor in layout selection. Also fix the DDC channel for the panel of the Lenovo T60p. commit ffb95e9575821d929b0007d704a9761ad4df6b8e Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 18 00:47:22 2007 +0200 Adding AMD's atombios.h. commit a425575e19eeea7d240c0268595bc44486bbec54 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 18 00:47:00 2007 +0200 Turn on legacy int10 when no AtomBIOS parser is used. commit dc15b7fa014a24b2a0bac6e6a57d4e6910a79105 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 18 00:42:52 2007 +0200 Adding AMD Copyright. Fix build to build with atombios.h but without parser. The license situation for the AtomBIOS parser has not yet been fixed. So the initial release will be without it. We comment all the code that relies on it. commit f689686492c9319983e6690c01f56d6b26426e7d Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Sep 17 21:18:40 2007 +0200 Print message that tells if shadowfb is used. commit 2571fafe2fccb919aef8c34f21ed5589cecac6cb Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Sep 17 18:28:08 2007 +0200 Better handling of verbose messages. commit 2a45ed181351888c005e4b3dbad2b4d2a6102538 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 17 21:07:45 2007 +0200 Expand the date for my copyright statement. This is code that lived in xf86-video-unichrome before and started living another lease of life here. commit 3c0f8586821da0ba4b66c47dd5e8f3fecb45d907 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 17 19:19:43 2007 +0200 Improve card structure to hold panel specific information. commit ff5dc0912b4a2f36b8a22e730e27c78f59d2ef44 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 17 14:02:38 2007 +0200 Fix typo in RHDMonitorInit. commit 711278d7c53d04cc576b407c1fd3eef5e451ce80 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 17 12:52:25 2007 +0200 ShadowFB now on per default. Fix a segfault in RHDShadowCloseScreen. Stop rhdShadowWindow from logging as RHDFUNC. commit fca009e11832de73af1bd2b6ea522f47721f859f Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 17 11:56:43 2007 +0200 Fix xf86snprintf warning by including xf86_ansic.h commit cabbc9de634f02ed41d707d6a165584adb26adc6 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 17 11:41:10 2007 +0200 Alter mode validation to properly catch fixed modes. And get in a saner usage for the configured monitor. commit ed5db4c0c6b2687dae12263710cf7ddfe6c7f045 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Sep 17 01:01:42 2007 +0200 Added big fat warning when code gets build without AtomBIOS support. commit 427175822e45034769f9c5d9823a8453ba69391f Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Sep 17 00:48:08 2007 +0200 Build fix problem introduced by removing a redundant command line arg. commit 1e086f76dd5b4172853379cb486ed3b978e26e5d Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sun Sep 16 19:44:56 2007 +0200 Fixed ScanBus result reporting. Also deleted trailing whitespaces from some files. commit 06a5157c911c3fccc081e40b880731203e19c580 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sun Sep 16 18:44:58 2007 +0200 Added/fixed missing pieces in shadow support. commit 16684a729d5f666467aebdb0c500d5d07c579f81 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sun Sep 16 18:44:03 2007 +0200 Fixed ScanBus, reduced I2C delays. commit 2d9ca7196ed4146b579ad9602c3ab5fff7552dda Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sun Sep 16 18:42:10 2007 +0200 Get Default Memory/Engine clocks for AsicInit from AtomBIOS. commit 3da0f5de42d2083f5f7d2cf961d9fb6f31f7b9e4 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sun Sep 16 00:46:45 2007 +0200 Adding shadow buffer handling. Cleaning up helpers. commit a708f4e1951d254ce12314b069813262af009262 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Sep 16 16:54:01 2007 +0200 Plugfest: add ddc to all known devices, add connector table where missing. Also fix an issue with DAC mode validation: 165MHz is a TMDS limit, not a DAC limit :) commit f7fed2884badc8e2618ffaa777b9cd1db1a23241 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sat Sep 15 23:26:09 2007 +0200 Fit cursors in Crtc specific structs. Also add proper destroy for Crtcs in FreeRec. commit 986143602f40eff2b29d12bea4654c668c83618d Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Sep 12 13:51:46 2007 +0200 Beautification... rename struct rhd_* to struct rhd* commit 13a4a96097d50f6626d3d3d630637e6bc6248e1e Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Sep 12 12:45:02 2007 +0200 Invert PLL calculation and fix EDID bandwidth bug. commit b734119b5434918212d4969ffbd5661fe683f39d Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Sep 12 09:47:24 2007 +0200 Add quick and dirty IgnoreConnector option. This allows one to disable a display, even when it is present. Fix atombios build. commit ac61d0cb1a0714f7d936efde69869ea7a2100d4f Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Sep 12 04:39:46 2007 +0200 18bit panel looks horrid without dithering, so set this up. commit 87626f745d9da13e270e00f62c549d57584b45ac Author: Egbert Eich <[EMAIL PROTECTED]> Date: Wed Sep 12 09:02:44 2007 +0200 Added a scanbus option to scan all i2c buses on all lines. Alongside with this the build was fixed that broke due to previous merges. All AtomBIOS and I2C functions now take a scrnIndex instead of a ScrnInfoRec as argument since all subsystems carry only the scrnIndex as a link to the 'world' in their private structures. commit 329925499bafcfccc7eca9969238d87cde5827ac Author: Egbert Eich <[EMAIL PROTECTED]> Date: Wed Sep 12 02:40:08 2007 +0200 Added missing license and copyright headers. commit 9afc87211eab4f8c33e1b4ad9070ab94c1cbaed5 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Sep 12 01:29:03 2007 +0200 Add DDC channel for m56 laptop VGA connector. Also we now hit an unresolved symbol: RHDCVTMode versus rhdCVTMode commit 103c06e81a748dcb0fbf4fd9079e3a885af816ff Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Tue Sep 11 18:58:23 2007 +0200 Implement initial monitor abstraction. We now kind of validate things correctly, well, somewhat. TODO: * interface monitor handling with output sensing. * figure out what to do when no EDID data is there, current handling is incorrect. commit 4634b214346d241a9ef3ec2758194a1c3218cb64 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Tue Sep 11 11:26:28 2007 +0200 Initial LVDS implementation for M56. Very rough edges still, but it will have to do for now. commit b99e1cb21199187d0b3e8af8e8f1862de4f443d9 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 11 14:10:28 2007 +0200 Made AtomBIOS code optional, restructured Fb allocation. This patch also addes some more messaging. commit 7f299494948764c2096e724a69c66393e4b856ce Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 11 14:02:49 2007 +0200 Added ScanBus and DDC readout to I2C. commit 84e2731533b2cbda3a58be1b7f3d76518ea193c4 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Sep 9 18:42:58 2007 +0200 M56 (0x71C5): Add basic support. commit 7e1be7e794db318f3b579b37be86490858195d05 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Sep 9 18:32:37 2007 +0200 Fix array overrrun in I2C code. Also make CAIL messaging less verbose. commit 8c5515f7878cba22eacc42ecd6d02c4b5729ccc9 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Sep 9 13:47:55 2007 +0200 Fix the build of rhdI2CProbeAddress. Also fix building against older modular X servers. commit 8c9f7eb31a9fedb8f1a005babd96d3fbf113f4db Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sat Sep 8 01:32:56 2007 +0200 Tested and fixed I2C on R5xx. commit 90317728c576ab6aa4287d5289e06b841c6ac9f6 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sat Sep 8 02:11:29 2007 +0200 Fixed call to ASICInit. Now we set up ATOMBios before memory sizing. commit b3dafbe914b506769b5f9d63d59a0e5c25d075f8 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sat Sep 8 01:26:43 2007 +0200 Adding AddressProbe for I2C. commit 8227d13887a71468f88992b0575861a81a738177 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Fri Sep 7 23:30:05 2007 +0200 Replace 2 0xFFFFFFFF values in an enum by defines. This stops truncation and stops the compiler from complaining. commit 9e88b57350e3dec8bac2b8182c0735292606183b Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Fri Sep 7 22:01:31 2007 +0200 Use atombios's FirmwareInfo PLL info for our PPLL calculations. rv630 still gave me a bad one on a mode with ~1.1Ghz internally. Will need to be dug out... but no time today anymore :( commit b9b69287de412e44d24b5015cd1e761784b2be67 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Fri Sep 7 21:06:22 2007 +0200 Changed default Engine Clock and Memory Clock to 700MHz. Fixed Problem with clock value. commit 337d986b8461f8fa44422c8f3fd75e66127ff1a7 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Fri Sep 7 20:51:41 2007 +0200 Fixed memory allocation. commit 485d627dc9fb8e069599bcde0982476b57d42128 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Fri Sep 7 12:23:27 2007 +0200 Removing call to ASIC Init for now as this messes up the system. ASIC_Init messes up the initialization at the moment therefore we remove the call for now. Also make sure the framebuffer is mapped if we need it for AtomBIOS calls. commit 2cfd67b70f9d487c8a9409f1d9511d4a84b18598 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Fri Sep 7 01:06:33 2007 +0200 Change to get rid of dependency on broken xf86i2cGetScreenBusses(). Also added some further AtomBIOS table retieves. commit 88968e9ceb6ab24ea43310523aaa11529bbf0fe8 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Thu Sep 6 09:27:04 2007 +0200 Introduced a different handling of VRAM scratch space initialization. commit 58098b916ae9ffea71a45d84a2aa4e559902c602 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Thu Sep 6 18:59:26 2007 +0200 Add connector table for firegl v3400 commit e80a6cd66a9a3e5fa782c5343cfa68d767c2371c Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Thu Sep 6 17:30:34 2007 +0200 Fix the build: * one from a bad merge from egbert to me. * one where i didn't move rhd_connector.h from rhd_hpd.h in git. commit f1e9f75cf68be85c20c908043560640e402b298e Author: Egbert Eich <[EMAIL PROTECTED]> Date: Thu Sep 6 08:00:36 2007 +0200 Added support for AtomBIOS exec, Int10, DDC on R6XX and Asic_Init. The following functional blocks have been fixed with this patch: - I2C: DDC read out has been added and tested on R6XX. - AtomBIOS: * Some structural changes were made to accomodate AtomBIOS execuiton better. * Execution of AtomBIOS was successfully tested with ReadHWAssistedEDID(). * Support for ASIC Init was added. * Better Debug support was added. - Int10: * Int10 support was added. Secondary cards POST flawlessly. commit ff45fca743290ed828579588da46ce057cfc33f1 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 4 10:49:04 2007 +0200 First integration of I2C into common infrastructure. I2C init/teardown has been added and a few adjustment to the code have been made to give it a more uniform look and feel. AtomBIOS is also uninited now. Fixed AtomBIOS init/memory allocation and query funcs. commit c96120c0cc8b9105eadc803dd7b1b476440491da Author: Egbert Eich <[EMAIL PROTECTED]> Date: Thu Sep 6 09:52:55 2007 +0200 Added support for AMD GPG profided AtomBIOS command table parser. Some adjustmends have been made to the AtomBIOS data table parser to accomodate the command table parser better. The files itself are not yet integrated as the license has not been fixed yet. commit 8cc902805a1b2311260e0a4819ac2a685db441df Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 4 10:27:40 2007 +0200 Initial version of I2C handling code for R5xx and R6xx. R6xx I2C support should be pretty complete. R5xx I2C support suffers from the lack of documentation. Currently we don't have full specs for R5xx therefore the code there is very preliminary. commit fbe55cfe07da3f3ca3317f957cdb22ad718bcc81 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Sep 5 00:25:11 2007 +0200 Add connector handling. Connectors tie the actual plug, a monitor of any description, a ddc bus a hot plug detect pin, and (currently) up to two outputs together. So, everything comes together here, and the connector handling decides how and when which monitors and which outputs and which CRTCs are tied together. This requires an entry in our card table to map out these connectors for various hardware, another lengthy and painful plugfest... Which isn't complete yet, so your hardware might not start just yet. commit 3cde3f19f446283f57be3d83f5346501f5a08fa0 Author: Matthias Hopf <[EMAIL PROTECTED]> Date: Tue Sep 4 14:56:54 2007 +0200 Fix HW cursor on Crtc2. Fix HW cursor with virtual. Nuked unnecessary cursor-related entries in RHDRec. Corrected REG_CUR_OFFSET. Moved actual cursor pos setting to rhdShowCursor. Re-show cursor in RHDAdjustFrame. commit 2f0df11c8365f62e2cce9437c035c99eb86fcc65 Author: Matthias Hopf <[EMAIL PROTECTED]> Date: Tue Sep 4 14:53:36 2007 +0200 Round x coords in ViewPortStart. Also added a comment about granularity. commit 700ccf181035358bd7a461a2d77bd61a7bff91e4 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Tue Sep 4 11:30:09 2007 +0200 Make HWCursor code backward compatible with non-RandR-1.2. The flag HARDWARE_CURSOR_ARGB is used by the new RandR 1.2 layer. It's not available on earlier versions nor is it required. Therefore we check for its presence before we use it. commit 3741c9447b3dc5cce9844f6a5a52f3537281ebd8 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 3 23:44:18 2007 +0200 Add some very simplistic FB memory handling. Just grab DRM_FB_CHUNK bits off of rhdPtr->FbFreeStart/Size. Whatever is left is used for the scanout buffer and xf86 FB management. commit 00c0f2331ebe7fd445027bdd2f68d9f56d789d85 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 3 22:15:13 2007 +0200 Fix DPMS commit 6e14bb1af493695d5a70268fa5384027505caa61 Author: Matthias Hopf <[EMAIL PROTECTED]> Date: Mon Sep 3 20:35:18 2007 +0200 Hardware cursor support. No save/restore yet. Hardware cursor lives just below 128MB ATM. commit c14ff985cfde0e885df80ed3c150e112819e9918 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 3 16:45:28 2007 +0200 Fix my email address. commit 2ad86d2834259206e0ffb9f17c9d2f8b4574de8b Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Sep 3 16:25:35 2007 +0200 Add LUT handling. We now have 8bpp working correctly. We have full gamma control over all the other bitdepths, and 15bpp has now also been added. commit ca41591c327c216775cfaff1533548dc35739b1e Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Sep 2 20:20:46 2007 +0200 Fix FrameAdjusts. Also expand VGA disabling. commit 57f9fa41084fded7e51ee3a6ea2352b0947adcb4 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Sep 2 16:47:27 2007 +0200 rhdPtr->XOrigModes was stupid and superfluous: cull it. commit 796f3a644513d9223ca049a19779e0e8239c6ba7 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Sep 2 16:39:45 2007 +0200 Add mode validation. Largely stolen from my unichrome driver. Virtual selection is much improved though. commit b463703317e8371b3008a845f60de55c11f0e4a0 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Fri Aug 31 20:37:15 2007 +0200 Rework OutputsSelect to rhdModelayoutSelect. Also: * Power down unused CRTCs. * Add output validate functions. * Fix FrameAdjust CRTC selection bug. * Add DACx_CONTROL2 DFORCE_EN bit handling. * Move PLL calculation value printing to RHDDebug. commit 28ba746dc8962fe1d34947fe92f26dd403f08a0d Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Fri Aug 31 12:23:59 2007 +0200 Add local copy of xf86CVTMode. commit d6b513e4e01a17f9109b327702efbb6a1f8acc38 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Thu Aug 30 16:27:50 2007 +0200 Fill out DxModeValid. Also: * Move some functions from being display (D) specific to being shared between both displays. * Tie PLL2 to CRTC2. commit 3e380f0ccf405952693dc685e7d9a90887eb351c Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Aug 29 19:40:50 2007 +0200 Add initial CRTC abstraction. commit 489afaa29574aeea64b24bf7005c28ca4c0838ec Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Aug 26 20:27:34 2007 +0200 PLL: Invert Post divider selection logic. To choose the highest possible internal PLL frequency, this to improve the stability of the output PLL. Also add handling for EXTx_PPLL_CNTL, this adds voltage handling for PLLs for the r600s. For r500s, this is handled by ASIC_RegistersInit in atombios. commit 108899586f3d33688790e41a97d79c56150d2f62 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Fri Aug 24 00:04:20 2007 +0200 Make sure that we set up the viewport correctly. No frameadjust yet though: buggers up the linebuffer. commit cc5c5eecd18cf3bb5223b62cd822fc9cd6e24e65 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Thu Aug 23 17:08:30 2007 +0200 Add support for TMDSA. Also fixes: * an issue initialising the DACs: output video standard. * an issue initialising the CRTCs: read enable. * alter the activation of devices depending on their sense result. commit 3ba286b05a3f892694856e024f5b220bbb307c1b Author: Egbert Eich <[EMAIL PROTECTED]> Date: Wed Aug 22 12:12:02 2007 +0200 Clearified some names in atombios.c/h. Small patch that fixes typos and attaches some Atom BIOS specific entities into the Atom BIOS name space. commit 3aee32c803b2c1bd121cbdcf599ab418c9417f30 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Aug 20 15:54:41 2007 +0200 Add hot plug detect subsystem. This just handles the four DC_GPIO_HPD pins, but might some day get a timer and maybe the r600 interrupt handling. commit bc661e564a0ae86d65544d24052e323c10498604 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Aug 15 13:10:53 2007 +0200 Add CRT detection for DACA and B. commit d430bed119037e9e58b8eda2aebb5fd20fb3c2e1 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Aug 13 22:17:18 2007 +0200 We have no need for rhdLock/rhdUnlock functions at this time. commit dacfd27f5c94ed8db17a02a40e520da012057d8f Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Aug 13 22:13:43 2007 +0200 Split out handling of the VGA compatibility hardware. This might seem daft, but makes things more balanced with the rest of modesetting. commit b0bfeb545769cca6850410c13e544b3eafbfd8c0 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Aug 13 19:57:54 2007 +0200 Depend on rhdPtr->CursorInfo instead of rhdPtr->swCursor.val.bool. This is much safer. Plus, when RHDCursorInit fails we don't need to bail out, as we can happily fall back to the software cursor. commit 860f18400f33443bbefe2015e1dc38f0b15106b5 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Mon Aug 13 19:39:25 2007 +0200 Split out PLLs commit 63e3d5ee9d4166f227238f18f40e4293836f871e Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Aug 12 02:03:41 2007 +0200 Mitigate some of the ->scrnIndex complexity through macros. Simple #defines take in ptr and replace to (ptr)->scrnIndex; nothing scary. commit e140706548526fb1c049815f637c19d7a4f190f9 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Aug 12 01:44:21 2007 +0200 Initial split out of outputs. DACs A and B. commit 13e8c2b94aac32b407a5b613ee75df0a6d0b74b6 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Aug 12 00:42:08 2007 +0200 Fix includes for cursor. By not depending on the xf86Cursor typedef and using the struct * instead, we don't need to include xf86Cursor.h all over the place. This tactic means that we will never have to spend ages resolving inter-header dependencies and makes us more resilient against unrelated SDK/API changes. commit 763f6286c3dbe0b51d307e804f81ccdfb50ccd0a Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Aug 12 00:26:47 2007 +0200 Remove the RHDRegRead/Write/Mask dependence on rhdPtr. RHDRegRead/Write/Mask now take scrnIndex as their first argument. This ensures that, when structuring modesetting, we don't need to cast back to rhdPtr all the time to be able to touch registers. commit 4c88c8995f0cba61ddae71dfff8ad4c771be6632 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Sun Aug 12 00:10:02 2007 +0200 Add rhdPtr->scrnIndex, __func__, RHDDebug and RHDFUNC. * Add rhdPtr->scrnIndex and move all modesetting functions to take rhdPtr as a first argument. * Add a workaround for __func__ on systems that don't provide this * Create RHDDebug function for debug messages (-logverbose 7). * Create RHDFUNC macro to print function names to the log when debugging. This might once again seem superfluous, but it is easier to tell a user to provide a log of -logverbose 7 than to have them run gdb. * Improve messaging to use __func__, RHDDebug and RHDFUNC. commit 1fa29a1c638f99ee245d62454222aa33d551694e Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Fri Aug 10 18:26:09 2007 +0200 Fix R600 memory sizing and internal FB base. commit 9e8121dd1b5bef2141dfa022021e80a042015771 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Fri Aug 10 11:54:39 2007 +0200 RS600 is r4xx style modesetting so this doesn't need to be handled here. commit 6118f4c6a373869bab26fd1d1aaa775d42596f5d Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Thu Aug 9 14:26:01 2007 +0200 Fix 32bpp. Apparently this wasn't tested at all. Code written on friday apparently isn't to be trusted. commit f11df314eaf45de9b1beaf1ee2c8866f6c45fd55 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Aug 8 19:05:44 2007 +0200 Add one or two pci ids... We had a delivery of AMD hardware, so we had a bit of a plugfest. This means that we now have a grand total of 15 unique devices at our disposal. Then [EMAIL PROTECTED] dug up a pci id listing from ATI, which kind of bumped the number of possible R5xx/R6xx devices up to a cosy 99. We need to order more hardware. So: * Add to RHD_CHIPSETS, RHDChipsets, and RHDPCIchipsets. * Create a function to mark the "few" cards we can't test as experimental, which means that the driver will complain and bail. * Add Option "EXPERIMENTAL", to stop the driver from bailing. * Add PCI card/subsystem id checking; only prints the card name now. * Remove rhd_macro.h as RHDPTR() should live near the definition of RHDPtr. * Move a few other defines, like RHD_NAME, to rhd.h. commit 0ea6130aec6e88ea7c48e638b0d1e46484ff718d Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Tue Aug 7 20:56:08 2007 +0200 Add support for multiple bitdepths. This means that 16bit colour is possible now, 8bit still needs to be figured out as palette access still needs to be implemented. commit 71a295f52b270d798308715ce43446d9d3dbbdf1 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Thu Aug 2 20:58:45 2007 +0200 Get videoRam size from MMIO 0x00F8. This is where Atom stores the size. This size is checked against the size of the PCI BAR aperture (which is limited to 512MB), and the smallest of the two is chosen. Also removes the superfluous BAR selection crap, uses 2 defines instead. Will reintroduce logic when it is actually needed. commit 7597a3b52c740058f7419e5418a5c41537413e19 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Thu Aug 2 14:00:52 2007 +0200 Expand modesetting to do two DAC single fb dualhead. Now D1 (D1GRPH, D1CRTC and D1PLL) points to DACA and D2 (D2GRPH, D2CRTC and D2PLL) points to DACB. And all seems to work. It's not exactly refined or overly useful, but we have a working starting point. commit aed371086bb5e434e11a054f85bda4513bd4c65c Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Aug 1 21:40:39 2007 +0200 Reverse order of memory address when logging Fb difference. Also rename guessed register so that we will not forget to change this to the ATI documented name. commit 0c9c125528eb461364bf353e667b6f316245c46e Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Aug 1 21:19:28 2007 +0200 Use internal FB address instead of PCI BAR address. These might differ, and all the FB Addressen in our IO are referenced comparably to some still undocumented register which we now will call FB_INTERNAL_ADDRESS. commit a7053ee84d576b84ce1971b5e2b8f162d2c88681 Author: Matthias Hopf <[EMAIL PROTECTED]> Date: Wed Aug 1 20:33:26 2007 +0200 mmap size calculation correction. commit 2f31af106c43c9605d08dde5d08cf504417b0d76 Author: Matthias Hopf <[EMAIL PROTECTED]> Date: Wed Aug 1 19:45:55 2007 +0200 Added R580. Reordered symbols in id order. commit e01c44147e61b6cbaa87318bd20d54a5058919d7 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Wed Aug 1 19:36:40 2007 +0200 Add support for the primary DAC (DACA) Extend the support for DACB to force it to go on as well. commit 733b80dd1c62e306542946f8285659d51a422294 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Tue Jul 31 21:53:31 2007 +0200 Restore 1280x1024 as the possible mode. This mode is the current denominator, we will soon have some mode validation going now. commit 7d64c2c19db180893c73175259fe1d8253a26692 Author: Luc Verhaegen <[EMAIL PROTECTED]> Date: Tue Jul 31 21:44:31 2007 +0200 First actual modes working. * Dotclock generator and PLL setting * CRTC1 now has proper blanking and sync setting and ties the correct PLL to the correct CRTC * VT restore follows suit. * Fix an issue with xf86_libc.h defining ulong to unsigned long, and egberts option handling. commit 6facb65e8922e137cf28b549f4795c6e47baf8a2 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 17:45:19 2007 +0200 Single entry point to ATOM BIOS subsystem. The entry point to the ATOM BIOS subsystem is now a single function: AtomBiosResult RhdAtomBIOSFunc(ScrnInfoPtr pScrn, pointer handle, AtomBiosFunc func, AtomBIOSArgPtr data); Apart from pScrn the arguments are: 'handle' (a struct with persistent internal data), typedef enum { ATOMBIOS_INIT, ATOMBIOS_UNINIT, ... FUNC_END } AtomBiosFunc; which describes the action to perform. Before any other action can be performed ATOMBIOS_INIT needs to be called. It will create and return the 'handle' which needs to be passed for any subsequent operations. it can return the states: typedef enum { SUCCESS, FAILED, NOT_IMPLEMENTED } AtomBiosResult; The 4th argument is a pointer to a union that can be used to pass arguments to and results from the function. The most common data types are already in the union, more elaborate structures can be passed back and forth by using the ptr member. AtomBiosArg commit fd3d83aa50dc60f4ff0d8ef415bffda2e95f3bee Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 17:14:42 2007 +0200 Added framework to query data from ATOM BIOS tables. commit a08e64b798e9e471be9df239655abe0232c7e23f Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 12:44:35 2007 +0200 Moving function delcarations from rhd_regs.h to rhd.h. In the future we may generate register lists on rhd_regs.h automatically. Thus this file should contain as little as pssible that doesn't relate to registers. commit 1541f4201175ac8e74b825df4e338e6960a61a62 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 12:37:22 2007 +0200 Converting defines of register addresses to enum. commit 7f605e721fcdecfe4052955db5a25f37b48157d0 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 11:19:38 2007 +0200 Fixed bailout structure: uninit bios data and unmap mmio when needed. The failure case was still not handled correctly: MMIO should get unmapped and the BIOS handler private data structures should be freed on failure. (If the latter ones will be needed in ScreenInit() in the future we can keep them around and point to them from the driver private data structure. commit f3dc9a9b9ff5a3186bfb31554a5534769c724de3 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 10:07:25 2007 +0200 Added initial support for ATOM Bios. Load ATOM Bios, verify its data and obtain the data tables for futher use. NOTE: atombios.h has not yet been included as its license status is still undetermined. commit 6adf65970f5f9c8e2116c9868ab215f132545705 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 07:31:46 2007 +0200 Add RV515 pciid. commit 798d88598fda347033f4572e6e8d7a414dbaab34 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 07:29:03 2007 +0200 Track option set status. Presently there is no consistent way of tracking if an option was set by the user or has been set to the default value. This information may be needed later to make more educated decisions on how to proceed. Many drivers work around this problem in different ways - often by introducing a second driver private variable to track the option status. We add a set of functions and a new structure to handle this in a more consistent way. These functions should eventually be moved to DDX. For now we leave them in the driver. commit 53c6fe2083a6ce4ccdb5dad97becfc731160090e Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 06:54:54 2007 +0200 Making some local functions static. commit b5e908c96a1f9d92d7c8780cbbf3795b609cb19e Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 06:54:33 2007 +0200 Break out option handling. Breaking out parts from ReInit() makes this function more readable - especially when new elements are added. commit bab19d9a950eefb7384545cd8a9efc8700b6a79f Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 06:53:51 2007 +0200 Use the default method to specify VRAM size. The DDX already provides a device section option to specify the size of VRAM. The GDevRec is linked into the entity info. Therefore we pick up this value before we free this structure. In the future we may have to keep the entity info around for longer. But we will also have a way to reliably probe VRAM size in which case we may not want to pick up a user specified setting at all. The exact policy can however determined later. commit d619529a9ccbf4b827b621298a96918af8e46d2b Author: Egbert Eich <[EMAIL PROTECTED]> Date: Mon Jul 30 06:53:09 2007 +0200 We only have one hardware entity for now. Don't bother looping over entity list. commit 4e954b3445cd4b053993fb9bd7f63c0ecdc31904 Author: Egbert Eich <[EMAIL PROTECTED]> Date: Sat Jul 28 10:21:29 2007 +0200 Make function names match English grammar. commit d8d5c0e467a67256b479dfa34a3cab30c5ec2e88 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]