aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-09-26 04:03:53 -0400
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-09-27 06:26:52 -0400
commitf8e57863f81f962a1837d6a17825752de5bc23f7 (patch)
tree6f46e340dbc3fc58e3db5dfb3834ad6c82e0d2db /drivers/gpu/drm/i915/intel_ringbuffer.c
parentdee4a0f8e70db36105e43dba5652737df5812190 (diff)
drm/i915: Trim partial view sg lists
Partial views are small but there can be many of them, and since the sg list space for them is allocated pessimistically, we can save some slab by trimming the unused tail entries. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180926080353.20867-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions