Re: [PATCH] drm/virtio: Spiff out cmd queue/response traces
From: Dmitry Osipenko
Date: Tue Nov 29 2022 - 13:38:33 EST
On 11/29/22 20:43, Rob Clark wrote:
> From: Rob Clark <robdclark@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxx>
--
Best regards,
Dmitry