dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add mutex to drm_gem_object.gpuva list
@ 2025-08-27 13:38 Alice Ryhl
  2025-08-27 13:38 ` [PATCH v3 1/3] drm_gem: add mutex to drm_gem_object.gpuva Alice Ryhl
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Alice Ryhl @ 2025-08-27 13:38 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Danilo Krummrich, Boris Brezillon, Daniel Almeida,
	Steven Price, Liviu Dudau, Rob Clark, Rob Herring
  Cc: Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
	Benno Lossin, Andreas Hindborg, Trevor Gross, dri-devel,
	linux-kernel, rust-for-linux, Alice Ryhl

See the first patch for motivation.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
Changes in v3:
- Documentation improvements in patch 1 and 3. 
- No code changes.
- Link to v2: https://lore.kernel.org/r/20250822-gpuva-mutex-in-gem-v2-0-c41a10d1d3b9@google.com

Changes in v2:
- Move the mutex_destroy() call to drm_gem_private_object_fini()
- Add a third patch to get rid of the lockdep map.
- Link to v1: https://lore.kernel.org/r/20250814-gpuva-mutex-in-gem-v1-0-e202cbfe6d77@google.com

---
Alice Ryhl (3):
      drm_gem: add mutex to drm_gem_object.gpuva
      panthor: use drm_gem_object.gpuva.lock instead of gpuva_list_lock
      gpuvm: remove gem.gpuva.lock_dep_map

 drivers/gpu/drm/drm_gem.c             |  2 ++
 drivers/gpu/drm/drm_gpuvm.c           | 30 ++++++++++-----------
 drivers/gpu/drm/panthor/panthor_gem.c |  3 ---
 drivers/gpu/drm/panthor/panthor_gem.h | 12 ---------
 drivers/gpu/drm/panthor/panthor_mmu.c | 21 ++++++++-------
 include/drm/drm_gem.h                 | 51 ++++++++++++++++++-----------------
 include/drm/drm_gpuvm.h               | 30 ++++++++++++++++++---
 7 files changed, 80 insertions(+), 69 deletions(-)
---
base-commit: 3f13bcc886fc034113cb75cb32b8d9db1216b846
change-id: 20250814-gpuva-mutex-in-gem-a608ab334e51

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-28 10:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27 13:38 [PATCH v3 0/3] Add mutex to drm_gem_object.gpuva list Alice Ryhl
2025-08-27 13:38 ` [PATCH v3 1/3] drm_gem: add mutex to drm_gem_object.gpuva Alice Ryhl
2025-08-27 13:38 ` [PATCH v3 2/3] panthor: use drm_gem_object.gpuva.lock instead of gpuva_list_lock Alice Ryhl
2025-08-27 13:38 ` [PATCH v3 3/3] gpuvm: remove gem.gpuva.lock_dep_map Alice Ryhl
2025-08-28  9:27   ` Danilo Krummrich
2025-08-28  9:38     ` Alice Ryhl
2025-08-28 10:42 ` [PATCH v3 0/3] Add mutex to drm_gem_object.gpuva list Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).