From 1a6b0398e69227890a861fb2f2decc897d448653 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 6 Mar 2013 17:12:41 +1100 Subject: convert some commented mdelay calls --- sys/dev/pci/drm/intel_pm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/drm/intel_pm.c b/sys/dev/pci/drm/intel_pm.c index a4dc6141d53..07d93759bbd 100644 --- a/sys/dev/pci/drm/intel_pm.c +++ b/sys/dev/pci/drm/intel_pm.c @@ -2549,7 +2549,7 @@ ironlake_enable_drps(struct drm_device *dev) } if (retries == 0) DRM_ERROR("stuck trying to change perf mode\n"); -// mdelay(1); + DELAY(1000); ironlake_set_drps(dev, fstart); @@ -2581,10 +2581,10 @@ ironlake_disable_drps(struct drm_device *dev) /* Go back to the starting frequency */ ironlake_set_drps(dev, dev_priv->ips.fstart); -// mdelay(1); + DELAY(1000); rgvswctl |= MEMCTL_CMD_STS; I915_WRITE(MEMSWCTL, rgvswctl); -// mdelay(1); + DELAY(1000); // spin_unlock_irq(&mchdev_lock); } -- cgit v1.2.3