diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-01-24 14:36:08 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-01-24 18:28:37 +0300 |
commit | 84a1074920523430f9dc30ff907f4801b4820072 (patch) | |
tree | f3171060ab43deb99c1cbde256a66a7b7465a917 /drivers/gpu/drm/i915/intel_fbc.c | |
parent | 6f56103d7e95f96568a460493ff6c0ced45f538b (diff) | |
download | linux-84a1074920523430f9dc30ff907f4801b4820072.tar.xz |
drm/i915: Shrink the GEM kmem_caches upon idling
When we finally decide the gpu is idle, that is a good time to shrink
our kmem_caches.
v3: Defer until an rcu grace period after we idle.
v4: Think about epoch wraparound and how likely that is.
v5: Use I915_EPOCH_INVALID magic.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180124113608.14909-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fbc.c')
0 files changed, 0 insertions, 0 deletions