summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2011-10-14 18:17:41 -0300
committerKeith Packard <keithp@keithp.com>2011-12-16 08:49:55 -0800
commit03d00ac53f9bcde06ff7e33d6676083c18d569a4 (patch)
treef8decda1787b6143fdffe115edcb6af9b9b442ba /drivers/gpu
parent3573c4103f7a486838bb6b5b8353788103f91802 (diff)
downloadop-kernel-dev-03d00ac53f9bcde06ff7e33d6676083c18d569a4.zip
op-kernel-dev-03d00ac53f9bcde06ff7e33d6676083c18d569a4.tar.gz
drm/i915: add PCH info to i915_capabilities
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index d09a6e0..004b048 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -62,6 +62,7 @@ static int i915_capabilities(struct seq_file *m, void *data)
const struct intel_device_info *info = INTEL_INFO(dev);
seq_printf(m, "gen: %d\n", info->gen);
+ seq_printf(m, "pch: %d\n", INTEL_PCH_TYPE(dev));
#define B(x) seq_printf(m, #x ": %s\n", yesno(info->x))
B(is_mobile);
B(is_i85x);
OpenPOWER on IntegriCloud