]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen9_lp: Fix DMC DC counter debugfs output
authorImre Deak <imre.deak@intel.com>
Wed, 31 Oct 2018 20:02:20 +0000 (22:02 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 5 Nov 2018 14:40:46 +0000 (16:40 +0200)
commit625433142cdbd0b14a3a041466c7df6d2861ae3b
tree319c62229a676eb1cbc52a2272843f9be7ffe24c
parent9b11ce3a63390180277432634c60fa93e41d4135
drm/i915/gen9_lp: Fix DMC DC counter debugfs output

On GEN9 LP (BXT/GLK) DC6 is not supported, so don't print the counter
on those platforms. So far we did this on GLK too.

While at it warn if we forgot to adjust the printout properly for a
new platform. (Rodrigo)

Testcase: igt/pm_dc/dc6-dpms
Cc: Jyoti Yadav <jyoti.r.yadav@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181031200220.11608-1-imre.deak@intel.com
drivers/gpu/drm/i915/i915_debugfs.c