Merge "staging: android/sync: Signal fences if timeline is destroyed"

This commit is contained in:
Linux Build Service Account 2019-01-31 17:42:11 -08:00 committed by Gerrit - the friendly Code Review server
commit 36a07fa583

View file

@ -451,6 +451,8 @@ static bool android_fence_signaled(struct fence *fence)
int ret;
ret = parent->ops->has_signaled(pt);
if (!ret && parent->destroyed)
ret = -ENOENT;
if (ret < 0)
fence->status = ret;
return ret;