rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add mutex to drm_gem_object.gpuva list
@ 2025-08-22  9:28 Alice Ryhl
  2025-08-22  9:28 ` [PATCH v2 1/3] drm_gem: add mutex to drm_gem_object.gpuva Alice Ryhl
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Alice Ryhl @ 2025-08-22  9:28 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 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                 | 39 ++++++++++++++---------------------
 include/drm/drm_gpuvm.h               | 30 ++++++++++++++++++++++++---
 7 files changed, 70 insertions(+), 67 deletions(-)
---
base-commit: 3f13bcc886fc034113cb75cb32b8d9db1216b846
change-id: 20250814-gpuva-mutex-in-gem-a608ab334e51

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


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

end of thread, other threads:[~2025-08-27 13:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-22  9:28 [PATCH v2 0/3] Add mutex to drm_gem_object.gpuva list Alice Ryhl
2025-08-22  9:28 ` [PATCH v2 1/3] drm_gem: add mutex to drm_gem_object.gpuva Alice Ryhl
2025-08-22  9:52   ` Boris Brezillon
2025-08-22 10:57     ` Alice Ryhl
2025-08-22 11:09       ` Boris Brezillon
2025-08-22 11:09       ` Danilo Krummrich
2025-08-22  9:28 ` [PATCH v2 2/3] panthor: use drm_gem_object.gpuva.lock instead of gpuva_list_lock Alice Ryhl
2025-08-22  9:28 ` [PATCH v2 3/3] gpuvm: remove gem.gpuva.lock_dep_map Alice Ryhl
2025-08-22  9:55   ` Boris Brezillon
2025-08-22 10:25   ` Danilo Krummrich
2025-08-22 10:58     ` Alice Ryhl
2025-08-27 13:35     ` Alice Ryhl

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).