mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 19:47:42 +00:00
Kernel: Fix condition on whether to initialize a display adapter or not
This commit is contained in:
parent
b882e5ff6b
commit
a8c35b6a93
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ UNMAP_AFTER_INIT bool GraphicsManagement::initialize()
|
||||||
// Note: Each graphics controller will try to set its native screen resolution
|
// Note: Each graphics controller will try to set its native screen resolution
|
||||||
// upon creation. Later on, if we don't want to have framebuffer devices, a
|
// upon creation. Later on, if we don't want to have framebuffer devices, a
|
||||||
// framebuffer console will take the control instead.
|
// framebuffer console will take the control instead.
|
||||||
if (!is_vga_compatible_pci_device(address) || !is_display_controller_pci_device(address))
|
if (!is_vga_compatible_pci_device(address) && !is_display_controller_pci_device(address))
|
||||||
return;
|
return;
|
||||||
determine_and_initialize_graphics_device(address, id);
|
determine_and_initialize_graphics_device(address, id);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue