[PATCH 0/5] Fixes etc for fence merging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxx>

Consolidated series as an simpler alternative to
https://lore.kernel.org/dri-devel/20241024124159.4519-3-christian.koenig@xxxxxxx/.

Hopefully fixes https://gitlab.freedesktop.org/drm/amd/-/issues/3617.

First two patches are fixes followed by one optimisation and then Christian's
and my selftest additions.

Cover letter now because it grew to five patches.

Please test and/or suggest more test cases to look at.

Cc: Christian König <christian.koenig@xxxxxxx>
Cc: Friedrich Vock <friedrich.vock@xxxxxx

Christian König (1):
  dma-buf: add selftest for fence order after merge

Tvrtko Ursulin (4):
  dma-fence: Fix reference leak on fence merge failure path
  dma-fence: Use kernel's sort for merging fences
  dma-fence: Add a single fence fast path for fence merging
  dma-fence: Add some more fence-merge-unwrap tests

 drivers/dma-buf/dma-fence-unwrap.c    | 137 ++++++-------
 drivers/dma-buf/st-dma-fence-unwrap.c | 268 +++++++++++++++++++++++++-
 2 files changed, 335 insertions(+), 70 deletions(-)

-- 
2.46.0




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux