summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/drm/intel_pm.c6
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);
}