diff options
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 3 | ||||
-rw-r--r-- | include/video/mach64.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index b61ab3b4c922..ea67dd902d4e 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -2377,6 +2377,9 @@ static int __devinit aty_init(struct fb_info *info) | |||
2377 | /* for many chips, the mclk is 67 MHz for SDRAM, 63 MHz otherwise */ | 2377 | /* for many chips, the mclk is 67 MHz for SDRAM, 63 MHz otherwise */ |
2378 | if (par->pll_limits.mclk == 67 && par->ram_type < SDRAM) | 2378 | if (par->pll_limits.mclk == 67 && par->ram_type < SDRAM) |
2379 | par->pll_limits.mclk = 63; | 2379 | par->pll_limits.mclk = 63; |
2380 | /* Mobility + 32bit memory interface need halved XCLK. */ | ||
2381 | if (M64_HAS(MOBIL_BUS) && par->ram_type == SDRAM32) | ||
2382 | par->pll_limits.xclk = (par->pll_limits.xclk + 1) >> 1; | ||
2380 | } | 2383 | } |
2381 | #endif | 2384 | #endif |
2382 | 2385 | ||
diff --git a/include/video/mach64.h b/include/video/mach64.h index 09a7f4a7289f..a8332e528ec1 100644 --- a/include/video/mach64.h +++ b/include/video/mach64.h | |||
@@ -885,6 +885,7 @@ | |||
885 | #define SDRAM 4 | 885 | #define SDRAM 4 |
886 | #define SGRAM 5 | 886 | #define SGRAM 5 |
887 | #define WRAM 6 | 887 | #define WRAM 6 |
888 | #define SDRAM32 6 | ||
888 | 889 | ||
889 | #define DAC_INTERNAL 0x00 | 890 | #define DAC_INTERNAL 0x00 |
890 | #define DAC_IBMRGB514 0x01 | 891 | #define DAC_IBMRGB514 0x01 |