[Intel-gfx] [PATCH 0/2] put intel gem buffer objects on diet

Daniel Vetter daniel.vetter at ffwll.ch
Wed Apr 28 11:02:30 CEST 2010


Hi all,

The following two patches reduce the size of struct drm_i915_gem_object by
48 bytes (on 64bit). No impact in benchmarking whatsoever. Still, given how
easy it was and furthermore that small bos seem to be on the rise (again),
I think this is a worthwhile optimization.

Please review and merge for -next.

Applies on top of my avoid-bo-reuse-related-stalls series (because that
introduced yet another wasteful 32bit wide boolean).

Thanks, Daniel

Daniel Vetter (2):
  drm/i915: move fence lru to struct drm_i915_fence_reg
  drm/i915: combine all small integers into one single bitfield

 drivers/gpu/drm/i915/i915_drv.h |   91 ++++++++++++++++++++++++---------------
 drivers/gpu/drm/i915/i915_gem.c |   38 +++++++++++-----
 2 files changed, 82 insertions(+), 47 deletions(-)




More information about the Intel-gfx mailing list