Message ID | dfb03c971002181519n374661bewf04391025b80fab9@mail.gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
diff -puNr a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c --- a/drivers/gpu/drm/i915/intel_display.c 2010-02-18 18:14:11.287962137 -0500 +++ b/drivers/gpu/drm/i915/intel_display.c 2010-02-18 18:13:51.336212730 -0500 @@ -2775,7 +2775,7 @@ static void i9xx_update_wm(struct drm_de if (IS_I945G(dev) || IS_I945GM(dev)) { I915_WRITE(FW_BLC_SELF, I915_READ(FW_BLC_SELF) & ~FW_BLC_SELF_EN); - } else if (IS_I915GM) { + } else if (IS_I915GM(dev)) { I915_WRITE(INSTPM, I915_READ(INSTPM) & ~INSTPM_SELF_EN); } }