]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/gpu/drm/i915/i915_debugfs.c
drm/i915: don't access FW_BLC_SELF on 965G
[net-next-2.6.git] / drivers / gpu / drm / i915 / i915_debugfs.c
index 52510ad8b25d3e89f7f920af0a65978512b28209..aee83fa178f6a6dc60c7273eaaae29b43dbe000d 100644 (file)
@@ -620,7 +620,7 @@ static int i915_sr_status(struct seq_file *m, void *unused)
        drm_i915_private_t *dev_priv = dev->dev_private;
        bool sr_enabled = false;
 
-       if (IS_I965G(dev) || IS_I945G(dev) || IS_I945GM(dev))
+       if (IS_I965GM(dev) || IS_I945G(dev) || IS_I945GM(dev))
                sr_enabled = I915_READ(FW_BLC_SELF) & FW_BLC_SELF_EN;
        else if (IS_I915GM(dev))
                sr_enabled = I915_READ(INSTPM) & INSTPM_SELF_EN;