All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] Add gpu_buddy_allocated_addr_to_block helper and its Kunit tests
@ 2026-07-28 11:49 Tejas Upadhyay
  2026-07-28 11:49 ` [PATCH V2 1/2] drm/gpu: Add gpu_buddy_allocated_addr_to_block helper Tejas Upadhyay
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Tejas Upadhyay @ 2026-07-28 11:49 UTC (permalink / raw)
  To: intel-xe, dri-devel; +Cc: matthew.auld, arunpravin.paneerselvam, Tejas Upadhyay

Add helper with primary purpose is to efficiently trace a specific
memory address back to its corresponding TTM buffer object.

Also Add KUnit tests for testing it.

v2
- Drop the mutex and lockdep annotation; standalone KUnit tests do not
  register a driver lock.

Tejas Upadhyay (2):
  drm/gpu: Add gpu_buddy_allocated_addr_to_block helper
  gpu/tests/gpu_buddy: Add KUnit test for
    gpu_buddy_allocated_addr_to_block

 drivers/gpu/buddy.c                | 53 ++++++++++++++++++++++++++++++
 drivers/gpu/tests/gpu_buddy_test.c | 43 ++++++++++++++++++++++++
 include/linux/gpu_buddy.h          |  2 ++
 3 files changed, 98 insertions(+)

-- 
2.52.0


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

end of thread, other threads:[~2026-07-28 12:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-28 11:49 [PATCH V2 0/2] Add gpu_buddy_allocated_addr_to_block helper and its Kunit tests Tejas Upadhyay
2026-07-28 11:49 ` [PATCH V2 1/2] drm/gpu: Add gpu_buddy_allocated_addr_to_block helper Tejas Upadhyay
2026-07-28 11:49 ` [PATCH V2 2/2] gpu/tests/gpu_buddy: Add KUnit test for gpu_buddy_allocated_addr_to_block Tejas Upadhyay
2026-07-28 12:05   ` sashiko-bot
2026-07-28 11:56 ` ✓ CI.KUnit: success for Add gpu_buddy_allocated_addr_to_block helper and its Kunit tests (rev2) Patchwork
2026-07-28 12:36 ` ✓ Xe.CI.BAT: " Patchwork

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.