From 191cbd3f8419cc5b428f262607d7a8594e574f67 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 12 Dec 2008 15:50:53 -0200 Subject: Unless there is a xorg.conf option, don't modify mclck neither mxclck. The option set_mclck was renamed to just MCLK, and a new MXCLCK option was added for smi501/502 chips. Note that previously, on MSOC chips, the set_mclck option actually changed mxclck, what is now done by the MXCLK option. The manpage was also update to reflect the options usage. A new SMI501_FindMemClock() function was added, as a possible placeholder for choosing alternate clocks when programming MMIO 0x68. But it should be noted that the smi 501 databook says: Miscellaneous Timing Read/Write MMIO_base + 0x000068 Power-on Default 0x00000000 [...] 5:4 Divider Output Frequency Selection for Second PLL. 00: 336 MHz. 01: 288 MHz. 10: 240 MHz. 11: 192 MHz. while the 502 databook says: Miscellaneous Timing Read/Write MMIO_base + 0x000068 Power-on Default 0b0000.00xx.0000.1001.0000.1001.0000.0000 [...] 5:4 Reserved These bits are reserved. but still tells to refer to those bits. --- src/smi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/smi.h') diff --git a/src/smi.h b/src/smi.h index 05332f7..5305e54 100644 --- a/src/smi.h +++ b/src/smi.h @@ -144,6 +144,7 @@ typedef struct { int Bpp; /* Bytes per pixel */ int MCLK; /* Memory Clock */ + int MXCLK; /* MSOC Clock for local sdram */ ClockRanges clockRange; /* Allowed pixel clock range */ CloseScreenProcPtr CloseScreen; /* Pointer used to save wrapped CloseScreen function */ -- cgit v1.2.3