diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-24 18:58:35 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-24 18:58:35 -0300 |
commit | bdba7c1397186cd15d519db55c2345db44990be4 (patch) | |
tree | 2de96c04aa4d32cbbc9cc82cf2f6cf783288f843 /src/smi.h | |
parent | e64b3d63be2a4148c4d10ac160e2bd2f3e8c7fd3 (diff) |
Fix incorrect understanding of the pixel clock from specs.
The clock that should be programmed is the bandwidth, and not the pixel
clock itself. Based on analysis of register contents, after "importing"
a slightly modified version of xf86ModeBandwidth() and properly converting
values, now it properly programs both, the LCD and a "clone" CRT or just
a secondary panel.
Modes generated by either gtf or cvt correctly works.
A (hopefully temporary) fallback was also added, and if the option
"UseFBDev" is used, the driver will not attempt to set/modify the
current video mode.
TODO: Generate a modeline "on the fly", based on monitor configured
specs, or some set of defaults, so that it should not be required to
specify a modeline in xorg.conf.
Diffstat (limited to 'src/smi.h')
-rw-r--r-- | src/smi.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -266,6 +266,7 @@ typedef struct EntityInfoPtr pEnt; Bool IsSwitching; /* when switching modes */ + Bool UseFBDev; } SMIRec, *SMIPtr; |