diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-12-12 15:50:53 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-12-12 15:50:53 -0200 |
commit | 191cbd3f8419cc5b428f262607d7a8594e574f67 (patch) | |
tree | 76f8c2a775c8468a9e4f52dddae00d7aac6c6236 /src/smi.h | |
parent | a2352ff23787f37530dff68e03028dd78925e4b4 (diff) |
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.
Diffstat (limited to 'src/smi.h')
-rw-r--r-- | src/smi.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |