From: Eric Anholt Date: Sun, 6 Sep 2009 22:18:53 +0000 (-0700) Subject: drm/i915: Put the idle reclocking work on our private workqueue as well. X-Git-Tag: v2.6.32-rc1~52^2~71^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01dfba93d9dfcf6d7abfc55ff5d9d6e76fa01ba0;p=platform%2Fkernel%2Flinux-3.10.git drm/i915: Put the idle reclocking work on our private workqueue as well. Fixes (again) whole-system lockups due to GPU lockups. Signed-off-by: Eric Anholt --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9aa1d2d..f674103 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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) @@ -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)