summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-08-11 15:16:09 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-08-11 15:22:31 +0800
commit02844d4dc0995f07dd438997ecc39bd9e3c4779b (patch)
tree1c177890ecfbe3b3344cd5b0845966ce1f45bf08
parent2b0705993a151b24c82d7955eed1c9c17ee0d8bd (diff)
downloadxorg-driver-xf86-video-intel-02844d4dc0995f07dd438997ecc39bd9e3c4779b.tar.gz
Disable display clock gating for 4 series chips
(cherry picked from commit d0018a96064ee0adfe87c2d50c341bf7d2e45eb0)
-rw-r--r--src/i830_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index f5aa114d..f27d9575 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -973,7 +973,7 @@ i830_init_clock_gating(ScrnInfoPtr pScrn)
/* Disable clock gating reported to work incorrectly according to the specs.
*/
- if (IS_GM45(pI830)) {
+ if (IS_GM45(pI830) || IS_G4X(pI830)) {
OUTREG(RENCLK_GATE_D1, 0);
OUTREG(RENCLK_GATE_D2, 0);
OUTREG(RAMCLK_GATE_D, 0);