drm/i915: Allow i915_pc8_status debug info on BDW
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 1 Apr 2014 22:39:48 +0000 (19:39 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 2 Apr 2014 07:26:56 +0000 (09:26 +0200)
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c

index 41da286b7c97b83a2bfc6ca9f1997820b46b4a43..8d1845505169307ef38ba27ec777d54df88f7187 100644 (file)
@@ -2058,7 +2058,7 @@ static int i915_pc8_status(struct seq_file *m, void *unused)
        struct drm_device *dev = node->minor->dev;
        struct drm_i915_private *dev_priv = dev->dev_private;
 
-       if (!IS_HASWELL(dev)) {
+       if (!IS_HASWELL(dev) && !IS_BROADWELL(dev)) {
                seq_puts(m, "not supported\n");
                return 0;
        }