aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-08-08 17:35:35 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-08-09 15:52:22 -0400
commitc6a828d3269a5d0b9adda1438cf8d7cb2007ca71 (patch)
tree461339ff364393d241388e597a04fe07c911b7b6 /drivers/gpu/drm/i915/intel_display.c
parent22bcfc6a4b2288675a54b761ebcd85b9613ab9a6 (diff)
drm/i915: move all rps state into dev_priv->rps
This way it's easier so see what belongs together, and what is used by the ilk ips code. Also add some comments that explain the locking. Note that (cur|min|max)_delay need to be duplicated, because they're also used by the ips code. v2: Missed one place that the dev_priv->ips change caught ... Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 2e1f28f38ee9..bddb29002c03 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -7218,7 +7218,7 @@ void intel_modeset_cleanup(struct drm_device *dev)
7218 * enqueue unpin/hotplug work. */ 7218 * enqueue unpin/hotplug work. */
7219 drm_irq_uninstall(dev); 7219 drm_irq_uninstall(dev);
7220 cancel_work_sync(&dev_priv->hotplug_work); 7220 cancel_work_sync(&dev_priv->hotplug_work);
7221 cancel_work_sync(&dev_priv->rps_work); 7221 cancel_work_sync(&dev_priv->rps.work);
7222 7222
7223 /* flush any delayed tasks or pending work */ 7223 /* flush any delayed tasks or pending work */
7224 flush_scheduled_work(); 7224 flush_scheduled_work();