* [PATCH] libxl: extend IGD check
@ 2024-11-29 1:00 Marek Marczykowski-Górecki
2024-11-29 12:20 ` Anthony PERARD
0 siblings, 1 reply; 2+ messages in thread
From: Marek Marczykowski-Górecki @ 2024-11-29 1:00 UTC (permalink / raw)
To: xen-devel; +Cc: Marek Marczykowski-Górecki, Anthony PERARD, Juergen Gross
Consider also "Display controller" an IGD, not only "VGA compatible
controller". Specifically, IGD on Raptor Lake has 0x038000 class, not
0x030000.
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
---
tools/libs/light/libxl_pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/libs/light/libxl_pci.c b/tools/libs/light/libxl_pci.c
index 35e3e1360423..5be9b8239567 100644
--- a/tools/libs/light/libxl_pci.c
+++ b/tools/libs/light/libxl_pci.c
@@ -635,7 +635,7 @@ bool libxl__is_igd_vga_passthru(libxl__gc *gc,
if (sysfs_dev_get_class(gc, pci, &class))
continue;
- if (class == 0x030000)
+ if (class == 0x030000 || class == 0x038000)
return true;
}
--
2.46.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] libxl: extend IGD check
2024-11-29 1:00 [PATCH] libxl: extend IGD check Marek Marczykowski-Górecki
@ 2024-11-29 12:20 ` Anthony PERARD
0 siblings, 0 replies; 2+ messages in thread
From: Anthony PERARD @ 2024-11-29 12:20 UTC (permalink / raw)
To: Marek Marczykowski-Górecki; +Cc: xen-devel, Juergen Gross
On Fri, Nov 29, 2024 at 02:00:10AM +0100, Marek Marczykowski-Górecki wrote:
> Consider also "Display controller" an IGD, not only "VGA compatible
> controller". Specifically, IGD on Raptor Lake has 0x038000 class, not
> 0x030000.
>
> Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Acked-by: Anthony PERARD <anthony.perard@vates.tech>
Thanks,
--
Anthony Perard | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-29 12:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-29 1:00 [PATCH] libxl: extend IGD check Marek Marczykowski-Górecki
2024-11-29 12:20 ` Anthony PERARD
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.