drm/i915: reintroduce VLV/CHV PFI programming power domain workaround
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Wed, 28 Jun 2017 21:06:05 +0000 (18:06 -0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Jul 2017 13:12:44 +0000 (16:12 +0300)
commit9c75b185274b7766fe69c2e73607c1ed780b284b
tree7d92032cb6c6f96ccd9ce5d36a03d59a707830b0
parent1a13a2ec3eb360c80e1ea88b9b7616fa64d4e278
drm/i915: reintroduce VLV/CHV PFI programming power domain workaround

There are still cases on these platforms where an attempt is made to
configure the CDCLK while the power domain is off, like when coming back
from a suspend.  So the workaround below is still needed.

This effectively reverts commit 63ff30442519 ("drm/i915: Nuke the
VLV/CHV PFI programming power domain workaround").

Cc: stable@vger.kernel.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101517
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170628210605.4994-1-krisman@collabora.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
(cherry picked from commit 886015a0ad43c7fc034b23ea4614ba39162f9ddd)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_cdclk.c