Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Subject: [PATCH 00/16] drm/xe: Adjust to DRM GPUVM changes
Date: Thu,  7 Dec 2023 15:11:40 +0100	[thread overview]
Message-ID: <20231207141157.26014-1-thomas.hellstrom@linux.intel.com> (raw)

The needed changes for a rebase on top of the latest GPUVM updates.
We need to convert the xe changes to fixups, and a follow up-series
will make uses of the added GPUVM utilities once we have rebased.

Note that the drm/xe changes *all* need to be applied for the code to
compile.

Danilo Krummrich (11):
  drm/gpuvm: convert WARN() to drm_WARN() variants
  drm/gpuvm: don't always WARN in drm_gpuvm_check_overflow()
  drm/gpuvm: export drm_gpuvm_range_valid()
  drm/nouveau: make use of drm_gpuvm_range_valid()
  drm/gpuvm: add common dma-resv per struct drm_gpuvm
  drm/nouveau: make use of the GPUVM's shared dma-resv
  drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm
  drm/nouveau: separately allocate struct nouveau_uvmm
  drm/gpuvm: reference count drm_gpuvm structures
  drm/gpuvm: add an abstraction for a VM / BO combination
  drm/gpuvm: track/lock/validate external/evicted objects

Thomas Hellström (5):
  drm/xe: Adjust to "drm/gpuvm: add common dma-resv per struct
    drm_gpuvm"
  drm/xe: Adjust to commit "drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm"
  drm/xe: Adjust to commit drm/gpuvm: reference count drm_gpuvm
    structures
  drm/xe: Adjust to commit "drm/gpuvm: add an abstraction for a VM/BO
    combination"
  drm/xe: Use DRM_GPUVM_RESV_PROTECTED for gpuvm

 drivers/gpu/drm/drm_gpuvm.c            | 1131 ++++++++++++++++++++++--
 drivers/gpu/drm/nouveau/nouveau_bo.c   |   11 +-
 drivers/gpu/drm/nouveau/nouveau_bo.h   |    5 +
 drivers/gpu/drm/nouveau/nouveau_drm.c  |    5 +-
 drivers/gpu/drm/nouveau/nouveau_drv.h  |   10 +-
 drivers/gpu/drm/nouveau/nouveau_gem.c  |   10 +-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c |  170 ++--
 drivers/gpu/drm/nouveau/nouveau_uvmm.h |    8 -
 drivers/gpu/drm/xe/xe_bo.c             |   28 +-
 drivers/gpu/drm/xe/xe_bo.h             |   11 +-
 drivers/gpu/drm/xe/xe_exec.c           |    4 +-
 drivers/gpu/drm/xe/xe_migrate.c        |    4 +-
 drivers/gpu/drm/xe/xe_pt.c             |    6 +-
 drivers/gpu/drm/xe/xe_vm.c             |  164 ++--
 drivers/gpu/drm/xe/xe_vm.h             |   26 +-
 drivers/gpu/drm/xe/xe_vm_types.h       |    8 -
 include/drm/drm_gem.h                  |   32 +-
 include/drm/drm_gpuvm.h                |  521 ++++++++++-
 18 files changed, 1859 insertions(+), 295 deletions(-)

-- 
2.42.0


             reply	other threads:[~2023-12-07 14:12 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 14:11 Thomas Hellström [this message]
2023-12-07 14:11 ` [PATCH 01/16] drm/gpuvm: convert WARN() to drm_WARN() variants Thomas Hellström
2023-12-07 14:11 ` [PATCH 02/16] drm/gpuvm: don't always WARN in drm_gpuvm_check_overflow() Thomas Hellström
2023-12-07 14:11 ` [PATCH 03/16] drm/gpuvm: export drm_gpuvm_range_valid() Thomas Hellström
2023-12-07 14:11 ` [PATCH 04/16] drm/nouveau: make use of drm_gpuvm_range_valid() Thomas Hellström
2023-12-07 14:11 ` [PATCH 05/16] drm/gpuvm: add common dma-resv per struct drm_gpuvm Thomas Hellström
2023-12-07 14:11 ` [PATCH 06/16] drm/nouveau: make use of the GPUVM's shared dma-resv Thomas Hellström
2023-12-07 14:11 ` [PATCH 07/16] drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm Thomas Hellström
2023-12-07 14:11 ` [PATCH 08/16] drm/nouveau: separately allocate struct nouveau_uvmm Thomas Hellström
2023-12-07 14:11 ` [PATCH 09/16] drm/gpuvm: reference count drm_gpuvm structures Thomas Hellström
2023-12-07 14:11 ` [PATCH 10/16] drm/gpuvm: add an abstraction for a VM / BO combination Thomas Hellström
2023-12-07 14:11 ` [PATCH 11/16] drm/gpuvm: track/lock/validate external/evicted objects Thomas Hellström
2023-12-07 14:11 ` [PATCH 12/16] drm/xe: Adjust to "drm/gpuvm: add common dma-resv per struct drm_gpuvm" Thomas Hellström
2023-12-07 19:08   ` Rodrigo Vivi
2023-12-07 14:11 ` [PATCH 13/16] drm/xe: Adjust to commit "drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm" Thomas Hellström
2023-12-07 19:04   ` Rodrigo Vivi
2023-12-07 14:11 ` [PATCH 14/16] drm/xe: Adjust to commit drm/gpuvm: reference count drm_gpuvm structures Thomas Hellström
2023-12-07 14:11 ` [PATCH 15/16] drm/xe: Adjust to commit "drm/gpuvm: add an abstraction for a VM/BO combination" Thomas Hellström
2023-12-07 12:38   ` Matthew Brost
2023-12-07 20:36     ` Rodrigo Vivi
2023-12-07 19:09   ` Rodrigo Vivi
2023-12-07 14:11 ` [PATCH 16/16] drm/xe: Use DRM_GPUVM_RESV_PROTECTED for gpuvm Thomas Hellström
2023-12-07 19:44 ` ✓ CI.Patch_applied: success for drm/xe: Adjust to DRM GPUVM changes Patchwork
2023-12-07 19:45 ` ✗ CI.checkpatch: warning " Patchwork
2023-12-07 19:46 ` ✓ CI.KUnit: success " Patchwork
2023-12-07 19:54 ` ✓ CI.Build: " Patchwork
2023-12-07 19:54 ` ✓ CI.Hooks: " Patchwork
2023-12-07 19:55 ` ✗ CI.checksparse: warning " Patchwork
2023-12-07 20:32 ` ✓ CI.BAT: success " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231207141157.26014-1-thomas.hellstrom@linux.intel.com \
    --to=thomas.hellstrom@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox