[PATCH] drm/virtio: Spiff out cmd queue/response traces

Dmitry Osipenko dmitry.osipenko at collabora.com
Tue Nov 29 18:38:22 UTC 2022


On 11/29/22 20:43, Rob Clark wrote:
> From: Rob Clark <robdclark at chromium.org>
> 
> Add a sequence # for more easily matching up cmd/resp, and the # of free
> slots in the virtqueue to more easily see starvation issues.
> 
> Signed-off-by: Rob Clark <robdclark at chromium.org>
> ---
>  drivers/gpu/drm/virtio/virtgpu_drv.h   |  3 +++
>  drivers/gpu/drm/virtio/virtgpu_trace.h | 20 ++++++++++++--------
>  drivers/gpu/drm/virtio/virtgpu_vq.c    | 13 ++++++++++---
>  3 files changed, 25 insertions(+), 11 deletions(-)

Reviewed-by: Dmitry Osipenko <dmitry.osipenko at collabora.com>

-- 
Best regards,
Dmitry



More information about the dri-devel mailing list