Re: [PATCH] hw/igd: fix calculation of graphics stolen memory

2024-11-08 Thread Cédric Le Goater
On 11/8/24 13:49, Corvin Köhne wrote: From: Corvin Köhne When copying the calculation of the stolen memory size for Intels integrated graphics device of gen 9 and later from the Linux kernel [1], we missed subtracting 0xf0 from the graphics mode select value for values above 0xf0. This leads to

Re: [PATCH] hw/igd: fix calculation of graphics stolen memory

2024-11-08 Thread Alex Williamson
On Fri, 8 Nov 2024 13:49:04 +0100 Corvin Köhne wrote: > From: Corvin Köhne > > When copying the calculation of the stolen memory size for Intels integrated * Intel's > graphics device of gen 9 and later from the Linux kernel [1], we missed > subtracting 0xf0 from the graphics mode select val

Re: [PATCH] hw/igd: fix calculation of graphics stolen memory

2024-11-08 Thread Philippe Mathieu-Daudé
On 8/11/24 12:49, Corvin Köhne wrote: From: Corvin Köhne When copying the calculation of the stolen memory size for Intels integrated graphics device of gen 9 and later from the Linux kernel [1], we missed subtracting 0xf0 from the graphics mode select value for values above 0xf0. This leads to

[PATCH] hw/igd: fix calculation of graphics stolen memory

2024-11-08 Thread Corvin Köhne
From: Corvin Köhne When copying the calculation of the stolen memory size for Intels integrated graphics device of gen 9 and later from the Linux kernel [1], we missed subtracting 0xf0 from the graphics mode select value for values above 0xf0. This leads to QEMU reporting a very large size of the