diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-12-03 12:50:14 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-12-04 12:24:18 +0000 |
commit | 4d8d9fc7050106cbac8141bd5ed5db3e4abbd5fa (patch) | |
tree | 74266b62061efedb8bb004fcb8c855bc164aa6bf /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 452420d22d5b41256a0bb82402a797295e525da9 (diff) |
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/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions