drm/i915/gen9: Check for DC state mismatch
authorPatrik Jakobsson <patrik.jakobsson@linux.intel.com>
Thu, 18 Feb 2016 15:21:11 +0000 (17:21 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 22 Feb 2016 16:37:25 +0000 (18:37 +0200)
commit9b6f20984c5402af06e13cde64b5fe7c31853d1a
treedae29a5de53e84b0900b6e32c08a558c5c2b8789
parent53188eb40121a135892881c5f61e41efce60b00a
drm/i915/gen9: Check for DC state mismatch

The DMC can incorrectly run off and allow DC states on it's own. We
don't know the root-cause for this yet but this patch makes it more
visible.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455808874-22089-2-git-send-email-mika.kuoppala@intel.com
(cherry picked from commit 832dba889e27487c3087149f1039acc3feb89003)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_csr.c
drivers/gpu/drm/i915/intel_runtime_pm.c