Hi guys, as partially discussed on the list already amdgpu has a bug in it's gang submission code. Basic problem is to add the correct dependency to the gang leader we need to arm the other gang members first, but that is a point of no return and it is possible that adding the dependencies fails with ENOMEM. Try to fix that by allowing drivers to preallocate dependency slots. Not sure if that is a good approach, but of hand I don't see much alternative. Please comment, Christian.