Commit 01dfba93 authored by Eric Anholt's avatar Eric Anholt

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: default avatarEric Anholt <eric@anholt.net>
parent 0ef82af7
...@@ -3201,7 +3201,7 @@ static void intel_gpu_idle_timer(unsigned long arg) ...@@ -3201,7 +3201,7 @@ static void intel_gpu_idle_timer(unsigned long arg)
dev_priv->busy = false; 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) void intel_increase_renderclock(struct drm_device *dev, bool schedule)
...@@ -3335,7 +3335,7 @@ static void intel_crtc_idle_timer(unsigned long arg) ...@@ -3335,7 +3335,7 @@ static void intel_crtc_idle_timer(unsigned long arg)
intel_crtc->busy = false; 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) static void intel_increase_pllclock(struct drm_crtc *crtc, bool schedule)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment