[Intel-gfx] [PATCH v7 0/8] PCI/VGA: Introduce is_boot_device function callback to vga_client_register

2023-06-12 Thread Sui Jingfeng
The vga_is_firmware_default() function is arch-dependent, it's probably wrong if we simply remove the arch guard. As the VRAM BAR which contains firmware framebuffer may move, while the lfb_base and lfb_size members of the screen_info does not change accordingly. In short, it should take the

[Intel-gfx] [PATCH v7 0/8] PCI/VGA: Introduce is_boot_device function callback to vga_client_register

2023-06-12 Thread Sui Jingfeng
From: Sui Jingfeng <15330273...@189.cn> The vga_is_firmware_default() function is arch-dependent, it's probably wrong if we simply remove the arch guard. As the VRAM BAR which contains firmware framebuffer may move, while the lfb_base and lfb_size members of the screen_info does not change