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)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 29 Jun 2017 13:13:32 +0000 (16:13 +0300)
commit886015a0ad43c7fc034b23ea4614ba39162f9ddd
tree6eb829e1ce235de794b15ac8fb28b12b43f1bf16
parent7b92c1bd0540b64f54d98331d67e57266f9343c4
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>
drivers/gpu/drm/i915/intel_cdclk.c