Re: [PATCH 3/9] vfio/igd: Detect IGD device by OpRegion

2025-05-05 Thread Corvin Köhne
On Tue, 2025-04-29 at 00:09 +0800, Tomita Moeko wrote: > CAUTION: External Email!! > There is currently no straightforward way to distinguish if a Intel > graphics device is IGD or discrete GPU. However, only IGD devices have > OpRegion. Use the presence of VFIO_REGION_SUBTYPE_INTEL_IGD_OPREGION >

[PATCH 3/9] vfio/igd: Detect IGD device by OpRegion

2025-04-28 Thread Tomita Moeko
There is currently no straightforward way to distinguish if a Intel graphics device is IGD or discrete GPU. However, only IGD devices have OpRegion. Use the presence of VFIO_REGION_SUBTYPE_INTEL_IGD_OPREGION to identify IGD devices. Still, OpRegion on hotplugged IGD device is not supported. Signed