CHROMIUM: MALI: fix signaling of already signaled fences
Error code can be only set once, before fence is signaled.
So before setting error code, test if fence is signaled and do
not try to signal fence that has been already signaled.
TEST=killall -9 surfaceflinger, no BUG_ON reboot
Signed-off-by: Dominik Behr <email@example.com>
Commit-Ready: Douglas Anderson <firstname.lastname@example.org>
Tested-by: Douglas Anderson <email@example.com>
Reviewed-by: Douglas Anderson <firstname.lastname@example.org>
Reviewed-by: Stéphane Marchesin <email@example.com>
Reviewed-by: Tomasz Figa <firstname.lastname@example.org>
(cherry picked from commit 466855709f5ac0afdbe27a8079437974bd314ec8)
1 file changed