Commit 9fa18f29 authored by Christian König's avatar Christian König Committed by T.J. Mercier
Browse files

UPSTREAM: dma-buf: revert "return only unsignaled fences in dma_fence_unwrap_for_each v3"



This reverts commit 8f619737.

It turned out that this is not correct. Especially the sync_file info
IOCTL needs to see even signaled fences to correctly report back their
status to userspace.

Instead add the filter in the merge function again where it makes sense.

Change-Id: I3322bb056311110fb3796564c73bb6c074ca2dbc
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Tested-by: default avatarKarolina Drobnik <karolina.drobnik@intel.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220712102849.1562-1-christian.koenig@amd.com


(cherry picked from commit bbd60fee)
Bug: 394776841
Bug: 397845301
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent ae4b7710
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment