Merge "staging: android/sync: Signal fences if timeline is destroyed"
This commit is contained in:
commit
36a07fa583
1 changed files with 2 additions and 0 deletions
|
@ -451,6 +451,8 @@ static bool android_fence_signaled(struct fence *fence)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = parent->ops->has_signaled(pt);
|
ret = parent->ops->has_signaled(pt);
|
||||||
|
if (!ret && parent->destroyed)
|
||||||
|
ret = -ENOENT;
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
fence->status = ret;
|
fence->status = ret;
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Reference in a new issue