aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-10-04 14:40:03 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-10-04 15:39:22 +0100
commit33d856445b3ef6f00466cd9fbb04d69061143077 (patch)
treef0981415c29aaa2d4577890777015c529e4c7cb8 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915: Drop struct_mutex from around i915_retire_requests() (diff)
downloadlinux-dev-33d856445b3ef6f00466cd9fbb04d69061143077.tar.xz
linux-dev-33d856445b3ef6f00466cd9fbb04d69061143077.zip
drm/i915: Remove the GEM idle worker
Nothing inside the idle worker now requires struct_mutex, so we can remove the indirection of using our own worker. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191004134015.13204-9-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 337d8306416a..ad31852e4309 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1719,15 +1719,6 @@ struct drm_i915_private {
* fires, go retire requests.
*/
struct delayed_work retire_work;
-
- /**
- * When we detect an idle GPU, we want to turn on
- * powersaving features. So once we see that there
- * are no more requests outstanding and no more
- * arrive within a small period of time, we fire
- * off the idle_work.
- */
- struct work_struct idle_work;
} gem;
/* For i945gm vblank irq vs. C3 workaround */