All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [PATCH v2 0/2] Use DRM_GPUVM helpers for the vm evict and exobj lists
Date: Tue, 12 Dec 2023 11:01:42 +0100	[thread overview]
Message-ID: <20231212100144.6833-1-thomas.hellstrom@linux.intel.com> (raw)

The first patch replaces our driver-specific code with calls to DRM_GPUVM,
and selects to use the DRM_GPUVM fine-grained locking.

The second patch sets a flag that makes DRM_GPUVM assume dma_resv locking
instead, that we've previously using in the Xe driver.

v2:
- Don't lock all bos and validate on LR exec submissions (Matthew Brost)
- Add some kerneldoc

Thomas Hellström (2):
  drm/xe: Use DRM GPUVM helpers for external- and evicted objects
  drm/xe: Use DRM_GPUVM_RESV_PROTECTED for gpuvm

 drivers/gpu/drm/xe/xe_bo.c       |  63 +++----
 drivers/gpu/drm/xe/xe_exec.c     |  74 ++------
 drivers/gpu/drm/xe/xe_vm.c       | 296 ++++++++-----------------------
 drivers/gpu/drm/xe/xe_vm.h       |  19 +-
 drivers/gpu/drm/xe/xe_vm_types.h |  67 ++-----
 5 files changed, 131 insertions(+), 388 deletions(-)

-- 
2.42.0

             reply	other threads:[~2023-12-12 10:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 10:01 Thomas Hellström [this message]
2023-12-12 10:01 ` [PATCH v2 1/2] drm/xe: Use DRM GPUVM helpers for external- and evicted objects Thomas Hellström
2023-12-12 16:16   ` Matthew Brost
2023-12-12 10:01 ` [PATCH v2 2/2] drm/xe: Use DRM_GPUVM_RESV_PROTECTED for gpuvm Thomas Hellström
2023-12-12 10:26 ` ✓ CI.Patch_applied: success for Use DRM_GPUVM helpers for the vm evict and exobj lists Patchwork
2023-12-12 10:26 ` ✓ CI.checkpatch: " Patchwork
2023-12-12 10:28 ` ✓ CI.KUnit: " Patchwork
2023-12-12 10:35 ` ✓ CI.Build: " Patchwork
2023-12-12 10:35 ` ✓ CI.Hooks: " Patchwork
2023-12-12 10:37 ` ✓ CI.checksparse: " Patchwork
2023-12-12 11:07 ` ✗ CI.BAT: failure " Patchwork
2023-12-12 12:52 ` ✓ CI.Patch_applied: success for Use DRM_GPUVM helpers for the vm evict and exobj lists (rev2) Patchwork
2023-12-12 12:52 ` ✓ CI.checkpatch: " Patchwork
2023-12-12 12:53 ` ✓ CI.KUnit: " Patchwork
2023-12-12 13:01 ` ✓ CI.Build: " Patchwork
2023-12-12 13:01 ` ✓ CI.Hooks: " Patchwork
2023-12-12 13:02 ` ✓ CI.checksparse: " Patchwork
2023-12-12 13:37 ` ✓ CI.BAT: " 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=20231212100144.6833-1-thomas.hellstrom@linux.intel.com \
    --to=thomas.hellstrom@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=rodrigo.vivi@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.