drm/i915/bxt: Sanitize the DBUF HW state together with CDCLK
authorImre Deak <imre.deak@intel.com>
Fri, 1 Apr 2016 13:02:43 +0000 (16:02 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 15 Apr 2016 11:48:18 +0000 (14:48 +0300)
commitc2e001ef84122b2d9c901789463ef79d1b326804
tree92e7cb748a70a035963a3808ccae177f7feeb042
parentd7d7c9ee699a0b85de0023433cdbd8f965e1ac08
drm/i915/bxt: Sanitize the DBUF HW state together with CDCLK

When determining whether CDCLK is enabled by BIOS and so we should skip
reprogramming it, we didn't check the related DBUF power request and
state. In theory BIOS could enable one without the other so check for
this case and reprogram things if something is amiss.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459515767-29228-13-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_display.c