public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Kristen Carlson Accardi <kristen@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH] i915: send D1 opregion notification
Date: Mon, 13 Jan 2014 13:32:45 -0800	[thread overview]
Message-ID: <1389648765-10904-1-git-send-email-kristen@linux.intel.com> (raw)

The opregion notification for runtime suspend should be D1, not D3.
This is to maintain compatibility with firmware.

Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
---
 drivers/gpu/drm/i915/i915_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 61fb9fc..a6c370a 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -925,7 +925,7 @@ static int i915_runtime_suspend(struct device *device)
 
 	del_timer_sync(&dev_priv->gpu_error.hangcheck_timer);
 	dev_priv->pm.suspended = true;
-	intel_opregion_notify_adapter(dev, PCI_D3cold);
+	intel_opregion_notify_adapter(dev, PCI_D1);
 
 	return 0;
 }
-- 
1.8.3.2

             reply	other threads:[~2014-01-13 21:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-13 21:32 Kristen Carlson Accardi [this message]
2014-01-14  9:26 ` [PATCH] i915: send D1 opregion notification Daniel Vetter
2014-01-14 19:19   ` Jesse Barnes
2014-01-14 23:06     ` Kristen Carlson Accardi
2014-01-14 23:08       ` Jesse Barnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389648765-10904-1-git-send-email-kristen@linux.intel.com \
    --to=kristen@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox