Fix Fix fence merge handling

Christian König ckoenig.leichtzumerken at gmail.com
Thu Oct 24 12:41:56 UTC 2024


Hi guys,

turned out that userspace can also merge dma_fence_chain contains
which can result in really huge arrays.

Fix those merges to sort the arrays and remove the duplicates.
Additional to that start to use kvzalloc() for dma_fence_array
containers so that can handle much larger arrays if necessary.

Please review and comment,
Christian.




More information about the dri-devel mailing list