diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-03-06 17:12:41 +1100 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-03-06 17:12:41 +1100 |
commit | 1a6b0398e69227890a861fb2f2decc897d448653 (patch) | |
tree | f766b96e6a70a28a2ea520f46c39458ff137330b | |
parent | 5f25636395765495da9387bb7d1f4bd4b0250bf4 (diff) |
convert some commented mdelay calls
-rw-r--r-- | sys/dev/pci/drm/intel_pm.c | 6 |
1 files 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); } |