From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Subject: [Intel-xe] [PATCH v3 0/6] drm/xe: Convert to drm_exec
Date: Thu, 31 Aug 2023 11:29:31 +0200 [thread overview]
Message-ID: <20230831092937.2197-1-thomas.hellstrom@linux.intel.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1750 bytes --]
Convert the driver to use drm_exec instead of ttm_eu_reserve_buffers().
v2:
- Update also the xe display subsystem.
v3:
- Rebase to fix compilation failure with latest drm-xe-next.
- Disallow duplicate locks also in the rebind worker, where it was
previously needed in a draft version.
Thomas Hellström (6):
drm/xe/bo: Simplify xe_bo_lock()
drm/xe/vm: Simplify and document xe_vm_lock()
drm/xe/bo: Remove the lock_no_vm()/unlock_no_vm() interface
drm/xe: Rework xe_exec and the VM rebind worker to use the drm_exec
helper
drm/xe: Convert pagefaulting code to use drm_exec
drm/xe: Convert remaining instances of ttm_eu_reserve_buffers to
drm_exec
drivers/gpu/drm/i915/display/intel_display.c | 5 +-
drivers/gpu/drm/i915/display/intel_fb.c | 4 +-
drivers/gpu/drm/xe/Kconfig | 1 +
drivers/gpu/drm/xe/tests/xe_bo.c | 35 +-
drivers/gpu/drm/xe/tests/xe_dma_buf.c | 4 +-
drivers/gpu/drm/xe/tests/xe_migrate.c | 7 +-
drivers/gpu/drm/xe/xe_bo.c | 47 +-
drivers/gpu/drm/xe/xe_bo.h | 28 +-
drivers/gpu/drm/xe/xe_bo_evict.c | 19 +-
drivers/gpu/drm/xe/xe_dma_buf.c | 5 +-
drivers/gpu/drm/xe/xe_exec.c | 71 +--
drivers/gpu/drm/xe/xe_exec_queue.c | 5 +-
drivers/gpu/drm/xe/xe_gt_pagefault.c | 117 ++---
drivers/gpu/drm/xe/xe_lrc.c | 12 +-
drivers/gpu/drm/xe/xe_migrate.c | 10 +-
drivers/gpu/drm/xe/xe_vm.c | 456 +++++++++----------
drivers/gpu/drm/xe/xe_vm.h | 30 +-
drivers/gpu/drm/xe/xe_vm_madvise.c | 30 +-
18 files changed, 379 insertions(+), 507 deletions(-)
--
2.41.0
next reply other threads:[~2023-08-31 9:29 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-31 9:29 Thomas Hellström [this message]
2023-08-31 9:29 ` [Intel-xe] [PATCH v3 1/6] drm/xe/bo: Simplify xe_bo_lock() Thomas Hellström
2023-08-31 14:43 ` Thomas Hellström
2023-08-31 17:01 ` Matthew Brost
2023-08-31 17:48 ` Thomas Hellström
2023-08-31 18:33 ` Matthew Brost
2023-09-01 11:59 ` Thomas Hellström
2023-08-31 9:29 ` [Intel-xe] [PATCH v3 2/6] drm/xe/vm: Simplify and document xe_vm_lock() Thomas Hellström
2023-08-31 17:06 ` Matthew Brost
2023-08-31 17:49 ` Thomas Hellström
2023-08-31 9:29 ` [Intel-xe] [PATCH v3 3/6] drm/xe/bo: Remove the lock_no_vm()/unlock_no_vm() interface Thomas Hellström
2023-08-31 17:10 ` Matthew Brost
2023-08-31 9:29 ` [Intel-xe] [PATCH v3 4/6] drm/xe: Rework xe_exec and the VM rebind worker to use the drm_exec helper Thomas Hellström
2023-08-31 17:51 ` Matthew Brost
2023-08-31 9:29 ` [Intel-xe] [PATCH v3 5/6] drm/xe: Convert pagefaulting code to use drm_exec Thomas Hellström
2023-08-31 17:58 ` Matthew Brost
2023-08-31 9:29 ` [Intel-xe] [PATCH v3 6/6] drm/xe: Convert remaining instances of ttm_eu_reserve_buffers to drm_exec Thomas Hellström
2023-08-31 14:42 ` Thomas Hellström
2023-08-31 18:07 ` Matthew Brost
2023-08-31 10:40 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Convert to drm_exec (rev2) Patchwork
2023-08-31 10:41 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-08-31 10:42 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-08-31 10:49 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-08-31 10:49 ` [Intel-xe] ✗ CI.Hooks: failure " Patchwork
2023-08-31 10:49 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-08-31 11:20 ` [Intel-xe] ✗ CI.BAT: failure " 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=20230831092937.2197-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