diff options
| author | Tomita Moeko <tomitamoeko@gmail.com> | 2024-12-06 20:27:41 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2024-12-26 07:23:37 +0100 |
| commit | 0bb758e97acec8c7bbd1c3d4d61ca20a050ae9b0 (patch) | |
| tree | b06bd254be71c2537079276099a5133bf6df80bd /rust/qemu-api/src/module.rs | |
| parent | 8492a6129c3c581cd6f94a0c11e9c4c5ebbac9dc (diff) | |
| download | focaccia-qemu-0bb758e97acec8c7bbd1c3d4d61ca20a050ae9b0.tar.gz focaccia-qemu-0bb758e97acec8c7bbd1c3d4d61ca20a050ae9b0.zip | |
vfio/igd: align generation with i915 kernel driver
Define the igd device generations according to i915 kernel driver to avoid confusion, and adjust comment placement to clearly reflect the relationship between ids and devices. The condition of how GTT stolen memory size is calculated is changed accordingly as GGMS is in multiple of 2 starting from gen 8. Reviewed-by: Corvin Köhne <c.koehne@beckhoff.com> Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com> Reviewed-by: Alex Williamson <alex.williamson@redhat.com> Link: https://lore.kernel.org/r/20241206122749.9893-4-tomitamoeko@gmail.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/module.rs')
0 files changed, 0 insertions, 0 deletions