diff options
Diffstat (limited to 'system/easy-kernel/0262-boot-order.patch')
-rw-r--r-- | system/easy-kernel/0262-boot-order.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/system/easy-kernel/0262-boot-order.patch b/system/easy-kernel/0262-boot-order.patch new file mode 100644 index 000000000..b653f506a --- /dev/null +++ b/system/easy-kernel/0262-boot-order.patch @@ -0,0 +1,48 @@ +From: Peter Jung <admin@ptr1337.dev> +Date: Thu, 29 Dec 2022 12:11:30 +0100 +Subject: [PATCH 04/16] Initialize ata before graphics + +ATA init is the long pole in the boot process, and its asynchronous. +move the graphics init after it so that ata and graphics initialize +in parallel + +Signed-off-by: Peter Jung <admin@ptr1337.dev> +--- + drivers/Makefile | 15 ++++++++------- + 1 file changed, 8 insertions(+), 7 deletions(-) + +diff --git a/drivers/Makefile b/drivers/Makefile +index 1bec7819a..dcdb0ddb7 100644 +--- a/drivers/Makefile ++++ b/drivers/Makefile +@@ -66,15 +66,8 @@ obj-y += char/ + # iommu/ comes before gpu as gpu are using iommu controllers + obj-y += iommu/ + +-# gpu/ comes after char for AGP vs DRM startup and after iommu +-obj-y += gpu/ +- + obj-$(CONFIG_CONNECTOR) += connector/ + +-# i810fb and intelfb depend on char/agp/ +-obj-$(CONFIG_FB_I810) += video/fbdev/i810/ +-obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ +- + obj-$(CONFIG_PARPORT) += parport/ + obj-y += base/ block/ misc/ mfd/ nfc/ + obj-$(CONFIG_LIBNVDIMM) += nvdimm/ +@@ -86,6 +79,14 @@ obj-y += macintosh/ + obj-y += scsi/ + obj-y += nvme/ + obj-$(CONFIG_ATA) += ata/ ++ ++# gpu/ comes after char for AGP vs DRM startup and after iommu ++obj-y += gpu/ ++ ++# i810fb and intelfb depend on char/agp/ ++obj-$(CONFIG_FB_I810) += video/fbdev/i810/ ++obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ ++ + obj-$(CONFIG_TARGET_CORE) += target/ + obj-$(CONFIG_MTD) += mtd/ + obj-$(CONFIG_SPI) += spi/ |