Skip to content

Commit

Permalink
drm/i915: Put the idle reclocking work on our private workqueue as well.
Browse files Browse the repository at this point in the history
Fixes (again) whole-system lockups due to GPU lockups.

Signed-off-by: Eric Anholt <eric@anholt.net>
  • Loading branch information
Eric Anholt committed Sep 6, 2009
1 parent 0ef82af commit 01dfba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -3201,7 +3201,7 @@ static void intel_gpu_idle_timer(unsigned long arg)

dev_priv->busy = false;

schedule_work(&dev_priv->idle_work);
queue_work(dev_priv->wq, &dev_priv->idle_work);
}

void intel_increase_renderclock(struct drm_device *dev, bool schedule)
Expand Down Expand Up @@ -3335,7 +3335,7 @@ static void intel_crtc_idle_timer(unsigned long arg)

intel_crtc->busy = false;

schedule_work(&dev_priv->idle_work);
queue_work(dev_priv->wq, &dev_priv->idle_work);
}

static void intel_increase_pllclock(struct drm_crtc *crtc, bool schedule)
Expand Down

0 comments on commit 01dfba9

Please sign in to comment.