drm/i915: Ignore skl+ for debugfs/i915_sr_status
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Mar 2017 14:20:49 +0000 (14:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Mar 2017 21:27:51 +0000 (21:27 +0000)
commit7342a72cc40b4cf50013f8230a6b879e2ba5a73e
tree9c0d824b9cd95fc1de5cf60174ce3f760cae2ef2
parent9735b04d0c1b766255e5860c09928b4cd46c092a
drm/i915: Ignore skl+ for debugfs/i915_sr_status

There is no easily digestible single self-refresh status bit, so don't
report one for debugfs/i915_sr_status on gen9+. For the moment this
avoids a read of the non-existent WM1_LP_ILK register.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170309142049.16033-1-chris@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c