]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f2d3bf86c270d05e4d13acbe5ba127d53b5cd7b
treede2a02dcdf7b15d23f6fda0da64bc0d2a7b3b4ef
parent954fd319b30e9d92d0e2ba605e76e772f239e1da
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