]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit34b2f8da9d41b640a8331e4b8c3bcd9ba2c2b5e6
tree319c62229a676eb1cbc52a2272843f9be7ffe24c
parent93b662d329d60ede951aa4cb49a3fc0a111b7223
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