diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2024-09-05 09:19:14 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2024-10-01 18:40:29 +0200 |
commit | 7a1f30afe97294281a2ba05977688385744f9844 (patch) | |
tree | 61a7f9f9af1eca731ddc92c6538c7dc675cf2a26 /crypto/aegis-neon.h | |
parent | 282864cc5d3f144af0cdea1868ee2dc2c5110f0d (diff) |
drm/panthor: Don't declare a queue blocked if deferred operations are pending
If deferred operations are pending, we want to wait for those to
land before declaring the queue blocked on a SYNC_WAIT. We need
this to deal with the case where the sync object is signalled through
a deferred SYNC_{ADD,SET} from the same queue. If we don't do that
and the group gets scheduled out before the deferred SYNC_{SET,ADD}
is executed, we'll end up with a timeout, because no external
SYNC_{SET,ADD} will make the scheduler reconsider the group for
execution.
Fixes: de8548813824 ("drm/panthor: Add the scheduler logical block")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240905071914.3278599-1-boris.brezillon@collabora.com
Diffstat (limited to 'crypto/aegis-neon.h')
0 files changed, 0 insertions, 0 deletions