drm/i915: Call uncore_suspend before platform suspend handlers
authorHans de Goede <j.w.r.degoede@gmail.com>
Tue, 14 Nov 2017 13:55:18 +0000 (14:55 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 15 Nov 2017 08:55:12 +0000 (09:55 +0100)
commit01c799c995bb8a87878b0d64edfd33014968da8e
tree2b29f095cea1cbc33fb843be5d311819afbf27b9
parentbedf4d79c3654921839b62246b0965ddb308b201
drm/i915: Call uncore_suspend before platform suspend handlers

Quoting Ville: "the forcewake timer might still be active until the uncore
suspend, and having active forcewakes while we've already told the GT wake
stuff to stop acting normally doesn't seem quite right to me."

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Suggested-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171114135518.15981-3-hdegoede@redhat.com
drivers/gpu/drm/i915/i915_drv.c