diff options
author | 2013-12-11 11:34:41 +0100 | |
---|---|---|
committer | 2013-12-18 11:33:24 +1000 | |
commit | bfd8303af0c46bd094289ee4e65f1e4bcc4fb7d3 (patch) | |
tree | cf305ff6c73fb4ff2383ba119e5c5285cbaa79a4 /drivers/gpu/drm/i915/i915_dma.c | |
parent | drm: rip out DRM_AGP_MEM and DRM_AGP_KERN (diff) | |
download | linux-bfd8303af0c46bd094289ee4e65f1e4bcc4fb7d3.tar.gz linux-bfd8303af0c46bd094289ee4e65f1e4bcc4fb7d3.tar.bz2 linux-bfd8303af0c46bd094289ee4e65f1e4bcc4fb7d3.zip |
drm: Kill DRM_HZ
We don't have any userspace interfaces that use HZ as a time unit, so
having our own DRM define is useless.
Remove this remnant from the shared drm core days.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 7eefc17ab69c..4c18dfcf67d3 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -783,7 +783,7 @@ static int i915_wait_irq(struct drm_device * dev, int irq_nr) master_priv->sarea_priv->perf_boxes |= I915_BOX_WAIT; if (ring->irq_get(ring)) { - DRM_WAIT_ON(ret, ring->irq_queue, 3 * DRM_HZ, + DRM_WAIT_ON(ret, ring->irq_queue, 3 * HZ, READ_BREADCRUMB(dev_priv) >= irq_nr); ring->irq_put(ring); } else if (wait_for(READ_BREADCRUMB(dev_priv) >= irq_nr, 3000)) |