diff options
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index ca11cc854e78..04f1f02c4019 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c | |||
@@ -922,7 +922,15 @@ static int i915_runtime_suspend(struct device *device) | |||
922 | 922 | ||
923 | del_timer_sync(&dev_priv->gpu_error.hangcheck_timer); | 923 | del_timer_sync(&dev_priv->gpu_error.hangcheck_timer); |
924 | dev_priv->pm.suspended = true; | 924 | dev_priv->pm.suspended = true; |
925 | intel_opregion_notify_adapter(dev, PCI_D3cold); | 925 | |
926 | /* | ||
927 | * current versions of firmware which depend on this opregion | ||
928 | * notification have repurposed the D1 definition to mean | ||
929 | * "runtime suspended" vs. what you would normally expect (D3) | ||
930 | * to distinguish it from notifications that might be sent | ||
931 | * via the suspend path. | ||
932 | */ | ||
933 | intel_opregion_notify_adapter(dev, PCI_D1); | ||
926 | 934 | ||
927 | return 0; | 935 | return 0; |
928 | } | 936 | } |