summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0109-initialize-ata-before-graphics.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/boot_time_opt/0109-initialize-ata-before-graphics.patch')
-rw-r--r--patches/boot_time_opt/0109-initialize-ata-before-graphics.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0109-initialize-ata-before-graphics.patch b/patches/boot_time_opt/0109-initialize-ata-before-graphics.patch
new file mode 100644
index 0000000..841a5b3
--- /dev/null
+++ b/patches/boot_time_opt/0109-initialize-ata-before-graphics.patch
@@ -0,0 +1,50 @@
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Arjan van de Ven <arjan@linux.intel.com>
3Date: Thu, 2 Jun 2016 23:36:32 -0500
4Subject: [PATCH] initialize ata before graphics
5
6ATA init is the long pole in the boot process, and its asynchronous.
7move the graphics init after it so that ata and graphics initialize
8in parallel
9---
10 drivers/Makefile | 15 ++++++++-------
11 1 file changed, 8 insertions(+), 7 deletions(-)
12
13diff --git a/drivers/Makefile b/drivers/Makefile
14index 576228037718..cf79337dd279 100644
15--- a/drivers/Makefile
16+++ b/drivers/Makefile
17@@ -59,15 +59,8 @@ obj-y += char/
18 # iommu/ comes before gpu as gpu are using iommu controllers
19 obj-y += iommu/
20
21-# gpu/ comes after char for AGP vs DRM startup and after iommu
22-obj-y += gpu/
23-
24 obj-$(CONFIG_CONNECTOR) += connector/
25
26-# i810fb and intelfb depend on char/agp/
27-obj-$(CONFIG_FB_I810) += video/fbdev/i810/
28-obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
29-
30 obj-$(CONFIG_PARPORT) += parport/
31 obj-$(CONFIG_NVM) += lightnvm/
32 obj-y += base/ block/ misc/ mfd/ nfc/
33@@ -80,6 +73,14 @@ obj-$(CONFIG_IDE) += ide/
34 obj-y += scsi/
35 obj-y += nvme/
36 obj-$(CONFIG_ATA) += ata/
37+
38+# gpu/ comes after char for AGP vs DRM startup and after iommu
39+obj-y += gpu/
40+
41+# i810fb and intelfb depend on char/agp/
42+obj-$(CONFIG_FB_I810) += video/fbdev/i810/
43+obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
44+
45 obj-$(CONFIG_TARGET_CORE) += target/
46 obj-$(CONFIG_MTD) += mtd/
47 obj-$(CONFIG_SPI) += spi/
48--
49https://clearlinux.org
50