summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-12-03 12:50:14 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-12-04 12:24:18 +0000
commit4d8d9fc7050106cbac8141bd5ed5db3e4abbd5fa (patch)
tree74266b62061efedb8bb004fcb8c855bc164aa6bf /drivers/gpu/drm/i915/intel_ringbuffer.c
parent452420d22d5b41256a0bb82402a797295e525da9 (diff)
downloadtalos-op-linux-4d8d9fc7050106cbac8141bd5ed5db3e4abbd5fa.tar.gz
talos-op-linux-4d8d9fc7050106cbac8141bd5ed5db3e4abbd5fa.zip
drm/i915: Trim unused workaround list entries
The new workaround list allocator grows the list in chunks so will end up with some unused space. Trim it when the initialization phase is done to free up a tiny bit of slab. v2: * Simplify with kmemdup. (Chris Wilson) v3: * Refactor for __size removal. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20181203125014.3219-8-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud