drm/i915: Don't display nonsensical values in i915_ddb_info on gen < 9
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 3 Dec 2014 17:33:24 +0000 (17:33 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Dec 2014 11:01:14 +0000 (12:01 +0100)
commit2fcffe195ed3329082ce22f2118543871bfbbcf0
treea7714f6017aae2491b3cb4b80a5d904ff13ac67c
parentf763566992bb004a27d620c9ad90ec9a4dff34c3
drm/i915: Don't display nonsensical values in i915_ddb_info on gen < 9

When playing around with debugfs and a HSW machine I noticed that we
were displaying some garbled value in i915_ddb_info. This debugfs file
is only meaningful for gen9+, so don't display anything on earlier
platforms.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c