summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain G. Ainsworth <oga@openbsd.org>2010-05-30 16:01:28 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-06-07 21:50:18 +0100
commit58c45e9d7f4670ce7b2557335c39b68f325cad3e (patch)
tree16481e04550b1800b48c6f033f221a3bc8780beb
parent3b2104907f761c8a5496e29c8ee3da1872998e41 (diff)
Fix SSC frequency of Ironlake.
the SSC uses 120Mhz instead of what other chips use, this fixes the lvds on the x201 for me. idea taken from commit 339e5a4c78041cd7b473ddf0a81eb06a131127bb to the linux kernel by Zhenyu Wang.
-rw-r--r--src/i830_bios.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c
index dd73b571..b7262c79 100644
--- a/src/i830_bios.c
+++ b/src/i830_bios.c
@@ -210,6 +210,8 @@ static void parse_general_features(intel_screen_private *intel, struct bdb_heade
if (intel->lvds_use_ssc) {
if (IS_I85X(intel))
intel->lvds_ssc_freq = general->ssc_freq ? 66 : 48;
+ else if (IS_IGDNG(intel))
+ intel->lvds_ssc_freq = general->ssc_freq ? 100 : 120;
else
intel->lvds_ssc_freq = general->ssc_freq ? 100 : 96;
}