]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Assert the dbuf is enabled when disabling DC5/6
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 May 2016 13:59:40 +0000 (16:59 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 23 May 2016 18:11:18 +0000 (21:11 +0300)
commit9fae41d9ace8e1cb253b70be7735913080160785
tree752c3bb8516411650b987240e7bf3b273f808e20
parent966450858c88a37f169e7ce9638532f5b54d38c5
drm/i915: Assert the dbuf is enabled when disabling DC5/6

Like with cdclk, the DMC is supposed to manage dbuf enabling/disabling.
Let's make sure it has correctly restored the dbuf state to enabled
when we disable the DC states.

v2: s/skl/gen9/ in function name (Imre)

Cc: Imre Deak <imre.deak@intel.com>
Suggested-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463407180-28993-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_runtime_pm.c