Skip to content

Commit 40f978e

Browse files
committed
Auto update to lts2024-ubuntu v6.12.47-250915T033524Z
Source of patches: 04f911233 Add SRIOV patch rebase update to v6.12.47 Signed-off-by: sys_oak <sys_oak@intel.com>
1 parent d1bec4d commit 40f978e

3 files changed

Lines changed: 39 additions & 3 deletions

File tree

config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
KVERSION=6
55
KPATCHLEVEL=12
6-
KSUBLEVEL=45
6+
KSUBLEVEL=47
77
KEXTRAVERSION=
88
KRTV=
99

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
From c907329d449811f5aa58f2b2a3633b6012774e37 Mon Sep 17 00:00:00 2001
2+
From: Dongwon Kim <dongwon.kim@intel.com>
3+
Date: Wed, 10 Sep 2025 20:48:45 -0700
4+
Subject: [PATCH] drm/virtio: Wait until the control and cursor queues are
5+
fully emptied
6+
7+
It is needed to wait until the queues are fully emptied before
8+
doing freeze/suspend.
9+
10+
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
11+
---
12+
drivers/gpu/drm/virtio/virtgpu_drv.c | 7 +++++++
13+
1 file changed, 7 insertions(+)
14+
15+
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c
16+
index d6fb1dbfaa27e..d1b189b1a9b75 100644
17+
--- a/drivers/gpu/drm/virtio/virtgpu_drv.c
18+
+++ b/drivers/gpu/drm/virtio/virtgpu_drv.c
19+
@@ -176,6 +176,13 @@ static int virtgpu_freeze(struct virtio_device *vdev)
20+
flush_work(&vgdev->ctrlq.dequeue_work);
21+
flush_work(&vgdev->cursorq.dequeue_work);
22+
flush_work(&vgdev->config_changed_work);
23+
+
24+
+ wait_event(vgdev->ctrlq.ack_queue,
25+
+ vgdev->ctrlq.vq->num_free == vgdev->ctrlq.vq->num_max);
26+
+
27+
+ wait_event(vgdev->cursorq.ack_queue,
28+
+ vgdev->cursorq.vq->num_free == vgdev->cursorq.vq->num_max);
29+
+
30+
vdev->config->del_vqs(vdev);
31+
32+
return 0;
33+
--
34+
2.43.0
35+

kernel-patches/patches/series

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Series file for v6.12.45 linux kernel
2-
# b0c51e95f54e5 Linux 6.12.45
1+
# Series file for v6.12.47 linux kernel
2+
# f6cf124428f51 Linux 6.12.47
33
#sriov
44
0001-drm-i915-mtl-Add-C10-table-for-HDMI-Clock-25175.sriov
55
0002-drm-i915-mtl-Copy-c10-phy-pll-sw-state-from-master-t.sriov
@@ -58,6 +58,7 @@
5858
0002-virtio-break-and-reset-virtio-devices-on-device_shut.sriov
5959
0003-virtgpu-don-t-reset-on-shutdown.sriov
6060
0004-drm-virtio-implement-virtio_gpu_shutdown.sriov
61+
0001-drm-virtio-Wait-until-the-control-and-cursor-queues-.sriov
6162
#security
6263
0001-mei-bus-add-api-to-query-capabilities-of-ME-clien.security
6364
0002-mei-virtio-virtualization-frontend-driver.security

0 commit comments

Comments
 (0)