]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b8b9da2c1d57f83b8f99a9388611920574ffd3e
tree92e7cb748a70a035963a3808ccae177f7feeb042
parent5c343e64cde76d5ebb49265ebaad176b1ff94211
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