]> 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)
commitf613c3503ae9256f9d1a0cf562237392a8bcff0a
tree92e7cb748a70a035963a3808ccae177f7feeb042
parent8da9203ec5f05961583ea10f3c77b54489f34346
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