drm/i915: add PCH info to i915_capabilities
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 14 Oct 2011 21:17:41 +0000 (18:17 -0300)
committerKeith Packard <keithp@keithp.com>
Fri, 16 Dec 2011 16:49:55 +0000 (08:49 -0800)
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>
drivers/gpu/drm/i915/i915_debugfs.c

index d09a6e02dc95374caf456923cba25efa94aafa94..004b048c5192979ce0e180d14824220eb271c9ab 100644 (file)
@@ -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);