drm/i915: disable rps irqs earlier during suspend/unload
[deliverable/linux.git] / drivers / gpu / drm / i915 / intel_display.c
index 32cec9d208d410448e843c26fc2c7705c3c13c85..ca4b787f98a887ff291bfeae802a92bce9001629 100644 (file)
@@ -13540,11 +13540,13 @@ void intel_modeset_cleanup(struct drm_device *dev)
        struct drm_i915_private *dev_priv = dev->dev_private;
        struct drm_connector *connector;
 
+       intel_disable_gt_powersave(dev);
+
        intel_backlight_unregister(dev);
 
        /*
         * Interrupts and polling as the first thing to avoid creating havoc.
-        * Too much stuff here (turning of rps, connectors, ...) would
+        * Too much stuff here (turning of connectors, ...) would
         * experience fancy races otherwise.
         */
        intel_irq_uninstall(dev_priv);
@@ -13561,8 +13563,6 @@ void intel_modeset_cleanup(struct drm_device *dev)
 
        intel_disable_fbc(dev);
 
-       intel_disable_gt_powersave(dev);
-
        ironlake_teardown_rc6(dev);
 
        mutex_unlock(&dev->struct_mutex);
This page took 0.031988 seconds and 5 git commands to generate.