summaryrefslogtreecommitdiff
path: root/src/g80_output.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-07-08 00:53:00 -0700
committerAaron Plattner <aaron@weasel.nvidia.com>2007-07-08 00:53:00 -0700
commit42dffde988176a3f85b0586ecb8d672b74050760 (patch)
treebb5ee1027673f17fe5b364f3d50d8c7fe8358f21 /src/g80_output.c
parentbc439899f323410b0549068cd88348e7fb62866b (diff)
Work around more MacBook wackiness.
Turn off more corrupt the framebuffer mode. Don't mess with the pixel clock for LVDS as long as we're trusting the VBIOS-programmed timings.
Diffstat (limited to 'src/g80_output.c')
-rw-r--r--src/g80_output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/g80_output.c b/src/g80_output.c
index 11bdb25..448864f 100644
--- a/src/g80_output.c
+++ b/src/g80_output.c
@@ -158,7 +158,8 @@ void
G80OutputSetPClk(xf86OutputPtr output, int pclk)
{
G80OutputPrivPtr pPriv = output->driver_private;
- pPriv->set_pclk(output, pclk);
+ if(pPriv->set_pclk)
+ pPriv->set_pclk(output, pclk);
}
int