diff options
author | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2023-04-16 13:52:35 +0200 |
---|---|---|
committer | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2023-06-03 03:50:40 +0200 |
commit | e4812ab8e6b142e1ce19b50fcf744e20ea9adfe3 (patch) | |
tree | 81ca66979508ed95762bb420bd1db33378c57fb8 /drivers/remoteproc | |
parent | MAINTAINERS: Add Carl/Pranjal as QAIC reviewers (diff) | |
download | linux-e4812ab8e6b142e1ce19b50fcf744e20ea9adfe3.tar.xz linux-e4812ab8e6b142e1ce19b50fcf744e20ea9adfe3.zip |
drm/virtio: Refactor and optimize job submission code path
Move virtio_gpu_execbuffer_ioctl() into separate virtgpu_submit.c file,
refactoring and optimizing the code along the way to ease addition of new
features to the ioctl.
The optimization is done by using optimal ordering of the job's submission
steps, reducing code path from the start of the ioctl to the point of
pushing job to virtio queue. Job's initialization is now performed before
in-fence is awaited and out-fence setup is made after sending out job to
virtio.
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230416115237.798604-2-dmitry.osipenko@collabora.com
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions