diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-28 10:20:35 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-28 11:08:09 +0000 |
commit | d9948a10b90201d1aa91e5a96daa09f40f7bb282 (patch) | |
tree | 50e63e66ae77dddf81323df1af7276da3115819d /drivers/gpu/drm/i915/i915_scheduler.h | |
parent | 13f1bfd3b3329b19950f95964580a84795ce7be9 (diff) | |
download | kernel_replicant_linux-d9948a10b90201d1aa91e5a96daa09f40f7bb282.tar.gz kernel_replicant_linux-d9948a10b90201d1aa91e5a96daa09f40f7bb282.tar.bz2 kernel_replicant_linux-d9948a10b90201d1aa91e5a96daa09f40f7bb282.zip |
drm/i915: Remove second level open-coded rcu work
We currently use a worker queued from an rcu callback to determine when
a how grace period has elapsed while we remained idle. We use this idle
delay to infer that we will be idle for a while and this is a suitable
point at which we can trim our global memory caches.
Since we wrote that, this mechanism now exists as rcu_work, and having
converted the idle shrinkers over to using that, we can remove our own
variant.
v2: Say goodbye to gt.epoch as well.
v3: Remove the misplaced and redundant comment before parking globals
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190228102035.5857-3-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_scheduler.h')
0 files changed, 0 insertions, 0 deletions