drm/i915/skl: Expose DC5/DC6 entry counts
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 30 Oct 2015 15:53:32 +0000 (17:53 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Nov 2015 17:15:16 +0000 (19:15 +0200)
commit8337206d3bf088c9f60ada7a71188b7f4b4ec2eb
treede2a02dcdf7b15d23f6fda0da64bc0d2a7b3b4ef
parentb7cec66de119ae9f0dc1ed5aeb92f32ab40acf1e
drm/i915/skl: Expose DC5/DC6 entry counts

The CSR firmware expose two counters, handy to check if we are indeed
entering DC5/DC6.

v2: Rebase
v3: Take RPM ref before reading (Imre)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> (v1)
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446220412-32574-1-git-send-email-mika.kuoppala@intel.com
Tested-by: Daniel Stone <daniels@collabora.com> # SKL
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_reg.h