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)
commit18a8067c5748054d7731957ec3c46697a6a9ac1b
tree752c3bb8516411650b987240e7bf3b273f808e20
parentd1b32c32e8943d18a104f347fbe40c46276011d9
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