On Sat, Oct 12, 2024 at 11:34:34AM +0000, Steven Price wrote:
Accessing the data in the vga_modes array requires using GET_GLOBAL(), and the bits set in the bit array should correspond to the modes, not the indexes in vga_modes.
With this change the modes calculated matches the expected value of 0xfe0ff.
Fixes: 12900b1a2431 ("vgabios: Fill in available legacy modes in video_func_static at runtime")
Thanks. I committed this change.
-Kevin