mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/virtio: Spiff out cmd queue/response traces
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@chromium.org> Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221130000841.318037-1-robdclark@gmail.com
This commit is contained in:
committed by
Dmitry Osipenko
parent
0974687a19
commit
2591939e88
@@ -165,6 +165,8 @@ struct virtio_gpu_vbuffer {
|
||||
|
||||
struct virtio_gpu_object_array *objs;
|
||||
struct list_head list;
|
||||
|
||||
uint32_t seqno;
|
||||
};
|
||||
|
||||
struct virtio_gpu_output {
|
||||
@@ -194,6 +196,7 @@ struct virtio_gpu_queue {
|
||||
spinlock_t qlock;
|
||||
wait_queue_head_t ack_queue;
|
||||
struct work_struct dequeue_work;
|
||||
uint32_t seqno;
|
||||
};
|
||||
|
||||
struct virtio_gpu_drv_capset {
|
||||
|
||||
Reference in New Issue
Block a user