[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1252028615-13785-2-git-send-email-zhenyuw@linux.intel.com>
Date: Fri, 4 Sep 2009 09:43:35 +0800
From: Zhenyu Wang <zhenyuw@...ux.intel.com>
To: intel-gfx@...ts.freedesktop.org
Cc: linux-kernel@...r.kernel.org,
Zhenyu Wang <zhenyuw@...ux.intel.com>,
Stable Team <stable@...nel.org>,
Alan Stern <stern@...land.harvard.edu>
Subject: [PATCH 2/3] drm/i915: remove restore in resume
Don't need extra restore like for intel_agp.
Cc: Stable Team <stable@...nel.org>
Cc: Alan Stern <stern@...land.harvard.edu>
Signed-off-by: Zhenyu Wang <zhenyuw@...ux.intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index dbe568c..e8cf18d 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -97,8 +97,6 @@ static int i915_resume(struct drm_device *dev)
struct drm_i915_private *dev_priv = dev->dev_private;
int ret = 0;
- pci_set_power_state(dev->pdev, PCI_D0);
- pci_restore_state(dev->pdev);
if (pci_enable_device(dev->pdev))
return -1;
pci_set_master(dev->pdev);
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists