Re: [PATCH v2] drm/virtio: Spiff out cmd queue/response traces
From: Dmitry Osipenko
Date: Mon Jan 02 2023 - 09:59:44 EST
On 11/30/22 03:08, 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.
>
> v2: Fix handling of string fields as well
>
> Signed-off-by: Rob Clark <robdclark@xxxxxxxxxxxx>
> Reviewed-by: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/virtio/virtgpu_drv.h | 3 +++
> drivers/gpu/drm/virtio/virtgpu_trace.h | 26 +++++++++++++++-----------
> drivers/gpu/drm/virtio/virtgpu_vq.c | 13 ++++++++++---
> 3 files changed, 28 insertions(+), 14 deletions(-)
Applied to drm-misc-next
--
Best regards,
Dmitry