]> 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)
commitace756a78f3d512eedb84d6a7b3d5050e4b3d2d2
tree752c3bb8516411650b987240e7bf3b273f808e20
parentc16bcbc853246000257534abe91000b8cd513727
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