diff options
| author | Pranjal Ramajor Asha Kanojiya <[email protected]> | 2023-05-17 19:35:38 +0000 |
|---|---|---|
| committer | Jeffrey Hugo <[email protected]> | 2023-05-23 15:50:33 +0000 |
| commit | faa7c4eee412ca14dd6a107cb6122d31c4277cbe (patch) | |
| tree | f0fa88662c82dd4feaa507dca8cf3ceccceb6a16 /drivers/gpu/drm/lima/lima_sched.c | |
| parent | accel/qaic: Validate if BO is sliced before slicing (diff) | |
| download | kernel-faa7c4eee412ca14dd6a107cb6122d31c4277cbe.tar.gz kernel-faa7c4eee412ca14dd6a107cb6122d31c4277cbe.zip | |
accel/qaic: Flush the transfer list again
Before calling synchronize_srcu() we clear the transfer list, this is to
allow all the QAIC_WAIT_BO callers to exit otherwise the system could
deadlock. There could be a corner case where more elements get added to
transfer list after we have flushed it. Re-flush the transfer list once
all the holders of dbc->ch_lock have completed execution i.e.
synchronize_srcu() is complete.
Fixes: ff13be830333 ("accel/qaic: Add datapath")
Signed-off-by: Pranjal Ramajor Asha Kanojiya <[email protected]>
Reviewed-by: Carl Vanderlip <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Jeffrey Hugo <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
