[PULL] topic/i915-ttm

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Jun 11 09:27:15 UTC 2021


Pull request for drm-misc-next and drm-intel-gt-next.

topic/i915-ttm-2021-06-11:
drm-misc and drm-intel pull request for topic/i915-ttm:
- Convert i915 lmem handling to ttm.
- Add a patch to temporarily add a driver_private member to vma_node.
- Use this to allow mixed object mmap handling for i915.
The following changes since commit 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2:

  Merge tag 'exynos-drm-next-for-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next (2021-06-11 14:19:12 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/topic/i915-ttm-2021-06-11

for you to fetch changes up to cf3e3e86d77970211e0983130e896ae242601003:

  drm/i915: Use ttm mmap handling for ttm bo's. (2021-06-11 10:53:25 +0200)

----------------------------------------------------------------
drm-misc and drm-intel pull request for topic/i915-ttm:
- Convert i915 lmem handling to ttm.
- Add a patch to temporarily add a driver_private member to vma_node.
- Use this to allow mixed object mmap handling for i915.

----------------------------------------------------------------
Maarten Lankhorst (2):
      drm/vma: Add a driver_private member to vma_node.
      drm/i915: Use ttm mmap handling for ttm bo's.

Thomas Hellström (2):
      drm/i915/ttm: Introduce a TTM i915 gem object backend
      drm/i915/lmem: Verify checks for lmem residency

 drivers/gpu/drm/drm_gem.c                          |   9 -
 drivers/gpu/drm/i915/Makefile                      |   1 +
 drivers/gpu/drm/i915/display/intel_display.c       |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_create.c         |   9 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c           | 126 ++--
 drivers/gpu/drm/i915/gem/i915_gem_lmem.h           |   5 -
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |  83 ++-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         | 143 +++--
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |  19 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |  30 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_region.c         |   6 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c            | 647 +++++++++++++++++++++
 drivers/gpu/drm/i915/gem/i915_gem_ttm.h            |  48 ++
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |  90 +--
 drivers/gpu/drm/i915/gt/intel_region_lmem.c        |   3 +-
 drivers/gpu/drm/i915/i915_gem.c                    |   5 +-
 drivers/gpu/drm/i915/intel_memory_region.c         |   1 -
 drivers/gpu/drm/i915/intel_memory_region.h         |   1 -
 drivers/gpu/drm/i915/intel_region_ttm.c            |   8 +-
 drivers/gpu/drm/i915/intel_region_ttm.h            |  11 +-
 drivers/gpu/drm/i915/selftests/igt_mmap.c          |  25 +-
 drivers/gpu/drm/i915/selftests/igt_mmap.h          |  12 +-
 include/drm/drm_vma_manager.h                      |   2 +-
 24 files changed, 1039 insertions(+), 250 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm.c
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm.h


More information about the dri-devel mailing list