diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-06-04 23:15:42 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-06-05 17:01:46 -0700 |
commit | 6b71721439802bffd715602af3036083ff442449 (patch) | |
tree | f03cb3716a93bef2886e41a458f20ab33e8ac596 /src/g80_output.c | |
parent | 70b304cd0df0af515ce8414559f28a7ca7825517 (diff) |
G80: LVDS support.
Diffstat (limited to 'src/g80_output.c')
-rw-r--r-- | src/g80_output.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/g80_output.c b/src/g80_output.c index d68250f..6a2723b 100644 --- a/src/g80_output.c +++ b/src/g80_output.c @@ -85,6 +85,7 @@ static Bool G80ReadPortMapping(int scrnIndex, G80Ptr pNv) "for port %i\n", or, pNv->i2cMap[port].sor, port); pNv->i2cMap[port].sor = or; + pNv->i2cMap[port].panelType = (type == 2) ? TMDS : LVDS; break; } } @@ -317,7 +318,8 @@ G80CreateOutputs(ScrnInfoPtr pScrn) if(pNv->i2cMap[i].dac != -1) dac = G80CreateDac(pScrn, pNv->i2cMap[i].dac); if(pNv->i2cMap[i].sor != -1) - sor = G80CreateSor(pScrn, pNv->i2cMap[i].sor); + sor = G80CreateSor(pScrn, pNv->i2cMap[i].sor, + pNv->i2cMap[i].panelType); if(dac) { G80OutputPrivPtr pPriv = dac->driver_private; |