[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 02/10] vfio/igd: remove unsupported device ids
From: |
Tomita Moeko |
Subject: |
[PATCH v4 02/10] vfio/igd: remove unsupported device ids |
Date: |
Fri, 6 Dec 2024 20:27:40 +0800 |
Since e433f208973f ("vfio/igd: return an invalid generation for unknown
devices"), the default return of igd_gen() was changed to unsupported.
There is no need to filter out those unsupported devices.
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Corvin Köhne <c.koehne@beckhoff.com>
Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
---
hw/vfio/igd.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c
index 73ed1ec8e6..059ed56439 100644
--- a/hw/vfio/igd.c
+++ b/hw/vfio/igd.c
@@ -64,16 +64,6 @@ static int igd_gen(VFIOPCIDevice *vdev)
}
switch (vdev->device_id & 0xff00) {
- /* Old, untested, unavailable, unknown */
- case 0x0000:
- case 0x2500:
- case 0x2700:
- case 0x2900:
- case 0x2a00:
- case 0x2e00:
- case 0x3500:
- case 0xa000:
- return -1;
/* SandyBridge, IvyBridge, ValleyView, Haswell */
case 0x0100:
case 0x0400:
--
2.45.2
- [PATCH v4 00/10] vfio/igd: Enable legacy mode on more devices, Tomita Moeko, 2024/12/06
- [PATCH v4 01/10] vfio/igd: fix GTT stolen memory size calculation for gen 8+, Tomita Moeko, 2024/12/06
- [PATCH v4 02/10] vfio/igd: remove unsupported device ids,
Tomita Moeko <=
- [PATCH v4 03/10] vfio/igd: align generation with i915 kernel driver, Tomita Moeko, 2024/12/06
- [PATCH v4 04/10] vfio/igd: canonicalize memory size calculations, Tomita Moeko, 2024/12/06
- [PATCH v4 06/10] vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper Lake device ids, Tomita Moeko, 2024/12/06
- [PATCH v4 05/10] vfio/igd: add Gemini Lake and Comet Lake device ids, Tomita Moeko, 2024/12/06
- [PATCH v4 08/10] vfio/igd: emulate GGC register in mmio bar0, Tomita Moeko, 2024/12/06
- [PATCH v4 07/10] vfio/igd: add macro for declaring mirrored registers, Tomita Moeko, 2024/12/06
- [PATCH v4 10/10] vfio/igd: add x-igd-gms option back to set DSM region size for guest, Tomita Moeko, 2024/12/06
- [PATCH v4 09/10] vfio/igd: emulate BDSM in mmio bar0 for gen 6-10 devices, Tomita Moeko, 2024/12/06
- Re: [PATCH v4 00/10] vfio/igd: Enable legacy mode on more devices, Cédric Le Goater, 2024/12/06
- Re: [PATCH v4 00/10] vfio/igd: Enable legacy mode on more devices, Alex Williamson, 2024/12/06