diff options
| author | Mikko Perttunen <mperttunen@nvidia.com> | 2022-06-27 17:19:49 +0300 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2022-07-08 16:27:52 +0200 |
| commit | 2486254781eab6f6119fabea78f11386c54460d2 (patch) | |
| tree | 7f62533a047ef5c2738ac425a3ddc33f55c85aa3 /lib/mpi/mpi-mod.c | |
| parent | 8aa5bcb61612060429223d1fbb7a1c30a579fc1f (diff) | |
gpu: host1x: Program context stream ID on submission
Add code to do stream ID switching at the beginning of a job. The
stream ID is switched to the stream ID specified by the context
passed in the job structure.
Before switching the stream ID, an OP_DONE wait is done on the
channel's engine to ensure that there is no residual ongoing
work that might do DMA using the new stream ID.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
