[Intel-gfx] [PATCH 0/3] Some bits from the LMEM series

Matthew Auld matthew.auld at intel.com
Fri Aug 9 20:29:23 UTC 2019


We are going to want the blt improvements and they can go in without everything
else. Also the buddy allocator is fairly standalone at this point, and includes
a set of selftests(some donated by Chris) and is unlikely to change much.

Matthew Auld (3):
  drm/i915: buddy allocator
  drm/i915/blt: don't assume pinned intel_context
  drm/i915/blt: bump the size restriction

 drivers/gpu/drm/i915/Makefile                 |   1 +
 .../gpu/drm/i915/gem/i915_gem_client_blt.c    |  34 +-
 .../gpu/drm/i915/gem/i915_gem_object_blt.c    | 142 +++-
 .../gpu/drm/i915/gem/i915_gem_object_blt.h    |   9 +-
 .../i915/gem/selftests/i915_gem_client_blt.c  |  16 +-
 .../i915/gem/selftests/i915_gem_object_blt.c  |  22 +-
 drivers/gpu/drm/i915/i915_buddy.c             | 433 +++++++++++
 drivers/gpu/drm/i915/i915_buddy.h             | 126 +++
 drivers/gpu/drm/i915/i915_globals.c           |   1 +
 drivers/gpu/drm/i915/i915_globals.h           |   1 +
 drivers/gpu/drm/i915/selftests/i915_buddy.c   | 719 ++++++++++++++++++
 .../drm/i915/selftests/i915_mock_selftests.h  |   1 +
 12 files changed, 1456 insertions(+), 49 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_buddy.c
 create mode 100644 drivers/gpu/drm/i915/i915_buddy.h
 create mode 100644 drivers/gpu/drm/i915/selftests/i915_buddy.c

-- 
2.20.1



More information about the Intel-gfx mailing list