Hi Christian,
2016-06-01 Christian König deathsimple@vodafone.de:
From: Gustavo Padovan gustavo.padovan@collabora.co.uk
struct fence_collection inherits from struct fence and carries a collection of fences that needs to be waited together.
It is useful to translate a sync_file to a fence to remove the complexity of dealing with sync_files on DRM drivers. So even if there are many fences in the sync_file that needs to waited for a commit to happen, they all get added to the fence_collection and passed for DRM use as a standard struct fence.
That means that no changes needed to any driver besides supporting fences.
fence_collection's fence doesn't belong to any timeline context, so fence_is_later() and fence_later() are not meant to be called with fence_collections fences.
The commit message needs to be fixed to say mention fence_array instead of fence_collection and we do create fence contexts for fence_arrays now.
Gustavo