Re: [PATCH v2 2/9] vfio/igd: align generation with i915 kernel driver

2024-12-05 Thread Tomita Moeko
On 12/5/24 06:36, Alex Williamson wrote: > On Tue, 3 Dec 2024 21:35:41 +0800 > Tomita Moeko wrote: > >> 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

Re: [PATCH v2 2/9] vfio/igd: align generation with i915 kernel driver

2024-12-04 Thread Alex Williamson
On Tue, 3 Dec 2024 21:35:41 +0800 Tomita Moeko wrote: > 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 calculat

Re: [PATCH v2 2/9] vfio/igd: align generation with i915 kernel driver

2024-12-03 Thread Corvin Köhne
On Tue, 2024-12-03 at 21:35 +0800, Tomita Moeko wrote: > CAUTION: External Email!! > 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 sto

[PATCH v2 2/9] vfio/igd: align generation with i915 kernel driver

2024-12-03 Thread Tomita Moeko
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