]> git.pld-linux.org Git - packages/X11.git/commitdiff
- mistake
authorspeedy <speedy@pld-linux.org>
Mon, 4 Jul 2005 22:29:12 +0000 (22:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    X11-radeon-dynamic-clocks.patch -> 1.2

X11-radeon-dynamic-clocks.patch [deleted file]

diff --git a/X11-radeon-dynamic-clocks.patch b/X11-radeon-dynamic-clocks.patch
deleted file mode 100644 (file)
index 5ee7156..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
---- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.ati-radeon-dynamic-clocks-fix   2005-04-14 14:07:38.000000000 -0400
-+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2005-04-14 14:10:50.000000000 -0400
-@@ -4512,7 +4512,7 @@
-     RADEONSave(pScrn);
--    if ((!info->IsSecondary) && info->IsMobility) {
-+    if ((!info->IsSecondary)) {
-         if (xf86ReturnOptValBool(info->Options, OPTION_DYNAMIC_CLOCKS, FALSE)) {
-           RADEONSetDynamicClock(pScrn, 1);
-         } else {
-@@ -7808,6 +7808,34 @@
-     CARD32 tmp;
-     switch(mode) {
-         case 0: /* Turn everything OFF (ForceON to everything)*/
-+#if 1
-+          /* some chips seem to have problems with the method of
-+           * forcing everything on as per below; thus we revert to the old 
-+           * forceON behavior
-+           */
-+          if (info->HasCRTC2) {
-+              tmp = INPLL(pScrn, RADEON_SCLK_CNTL);
-+              OUTPLL(RADEON_SCLK_CNTL, ((tmp & ~RADEON_DYN_STOP_LAT_MASK) |
-+                                              RADEON_CP_MAX_DYN_STOP_LAT |
-+                                              RADEON_SCLK_FORCEON_MASK));
-+
-+              if (info->ChipFamily == CHIP_FAMILY_RV200) {
-+                  tmp = INPLL(pScrn, RADEON_SCLK_MORE_CNTL);
-+                  OUTPLL(RADEON_SCLK_MORE_CNTL, tmp | RADEON_SCLK_MORE_FORCEON);
-+              }
-+
-+          }
-+
-+          tmp = INPLL(pScrn, RADEON_MCLK_CNTL);
-+          OUTPLL(RADEON_MCLK_CNTL, (tmp |
-+                               RADEON_FORCEON_MCLKA |
-+                               RADEON_FORCEON_MCLKB |
-+                               RADEON_FORCEON_YCLKA |
-+                               RADEON_FORCEON_YCLKB |
-+                               RADEON_FORCEON_MC |
-+                               RADEON_FORCEON_AIC));
-+
-+#else
-             if ( !info->HasCRTC2 ) {
-                 tmp = INPLL(pScrn, RADEON_SCLK_CNTL);
-                 tmp |= (RADEON_SCLK_FORCE_CP   | RADEON_SCLK_FORCE_HDP |
-@@ -7945,6 +7973,7 @@
-                        RADEON_PIXCLK_DAC_ALWAYS_ONb); 
-                 OUTPLL(RADEON_VCLK_ECP_CNTL, tmp);
-           }
-+#endif
-           xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Dynamic Clock Scaling Disabled\n");
-             break;
-         case 1:
This page took 0.036916 seconds and 4 git commands to generate.