]> 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)
commit2fd1b4be6395860358186e70d8d377649817b04f
tree319c62229a676eb1cbc52a2272843f9be7ffe24c
parent6bc0e162b738702c5c0cac612ff8df40b4805619
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