[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/9] vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper Lake device
From: |
Tomita Moeko |
Subject: |
[PATCH v2 5/9] vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper Lake device ids |
Date: |
Tue, 3 Dec 2024 21:35:44 +0800 |
All gen 11 and 12 igd devices have 64 bit BDSM register at 0xC0 in its
config space, add them to the list to support igd passthrough on Alder/
Raptor/Rocket/Ice/Jasper Lake platforms.
Tested legacy mode of igd passthrough works properly on both linux and
windows guests with AlderLake-S GT1 (8086:4680).
Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
---
hw/vfio/igd.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c
index 7f389de7ac..fea9be0b2d 100644
--- a/hw/vfio/igd.c
+++ b/hw/vfio/igd.c
@@ -85,9 +85,14 @@ static int igd_gen(VFIOPCIDevice *vdev)
case 0x3e00: /* Coffee Lake */
case 0x9B00: /* Comet Lake */
return 9;
+ case 0x8A00: /* Ice Lake */
case 0x4500: /* Elkhart Lake */
+ case 0x4E00: /* Jasper Lake */
return 11;
case 0x9A00: /* Tiger Lake */
+ case 0x4C00: /* Rocket Lake */
+ case 0x4600: /* Alder Lake */
+ case 0xA700: /* Raptor Lake */
return 12;
}
--
2.45.2
- [PATCH v2 2/9] vfio/igd: align generation with i915 kernel driver, (continued)
- [PATCH v2 2/9] vfio/igd: align generation with i915 kernel driver, Tomita Moeko, 2024/12/03
- [PATCH v2 4/9] vfio/igd: add Gemini Lake and Comet Lake device ids, Tomita Moeko, 2024/12/03
- [PATCH v2 3/9] vfio/igd: canonicalize memory size calculations, Tomita Moeko, 2024/12/03
- [PATCH v2 5/9] vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper Lake device ids,
Tomita Moeko <=
- [PATCH v2 6/9] vfio/igd: add macro for declaring mirrored registers, Tomita Moeko, 2024/12/03
- [PATCH v2 7/9] vfio/igd: emulate GGC register in mmio bar0, Tomita Moeko, 2024/12/03
- [PATCH v2 9/9] vfio/igd: add x-igd-gms option back to set DSM region size for guest, Tomita Moeko, 2024/12/03
- [PATCH v2 8/9] vfio/igd: emulate BDSM in mmio bar0 for gen 6-10 devices, Tomita Moeko, 2024/12/03