summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorVedang Patel2014-08-26 19:42:51 +0200
committerDaniel Vetter2014-09-03 11:04:27 +0200
commitac66cf4b9af4322748fa46af79e9952bd58c6213 (patch)
treeb5d3dfce4a2f9c12c5da3f12fb7cd5f0a86aba40 /drivers/gpu/drm/i915
parentdrm/i915: Differentiate between LLC or snooped for the user (diff)
downloadkernel-qcow2-linux-ac66cf4b9af4322748fa46af79e9952bd58c6213.tar.gz
kernel-qcow2-linux-ac66cf4b9af4322748fa46af79e9952bd58c6213.tar.xz
kernel-qcow2-linux-ac66cf4b9af4322748fa46af79e9952bd58c6213.zip
drm/i915/bdw: Add BDW support in the i915 debugfs entry
The patch introduces fixes for the debugfs attributes emitted by the i915 driver for GEN8. Currently, it is not emitting the correct attributes which include the status of RC6 states. Change-Id: Ib2068a0cac9a5wq3f228e547fa1a097ad369d242df Signed-off-by: Vedang Patel <vedang.patel@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index d06c823b0745..9d93af126f9c 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1381,7 +1381,7 @@ static int i915_drpc_info(struct seq_file *m, void *unused)
if (IS_VALLEYVIEW(dev))
return vlv_drpc_info(m);
- else if (IS_GEN6(dev) || IS_GEN7(dev))
+ else if (INTEL_INFO(dev)->gen >= 6)
return gen6_drpc_info(m);
else
return ironlake_drpc_info(m);