diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-04 14:40:03 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-04 15:39:22 +0100 |
commit | 33d856445b3ef6f00466cd9fbb04d69061143077 (patch) | |
tree | f0981415c29aaa2d4577890777015c529e4c7cb8 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 7e8057626640cfedbae000c5032be32269713687 (diff) | |
download | linux-33d856445b3ef6f00466cd9fbb04d69061143077.tar.bz2 |
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.h | 9 |
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 */ |