summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0118-Initialize-ata-before-graphics.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/boot_time_opt/0118-Initialize-ata-before-graphics.patch')
-rw-r--r--patches/boot_time_opt/0118-Initialize-ata-before-graphics.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0118-Initialize-ata-before-graphics.patch b/patches/boot_time_opt/0118-Initialize-ata-before-graphics.patch
new file mode 100644
index 0000000..70e07c8
--- /dev/null
+++ b/patches/boot_time_opt/0118-Initialize-ata-before-graphics.patch
@@ -0,0 +1,47 @@
1From fbc1ab7c18a9c960a0bff293a93620d581658f8d 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 118/124] 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 | 11 ++++++-----
11 1 file changed, 6 insertions(+), 5 deletions(-)
12
13diff --git a/drivers/Makefile b/drivers/Makefile
14index 194d20bee7dc..2785e4c6b30f 100644
15--- a/drivers/Makefile
16+++ b/drivers/Makefile
17@@ -55,14 +55,9 @@ obj-y += char/
18 # iommu/ comes before gpu as gpu are using iommu controllers
19 obj-$(CONFIG_IOMMU_SUPPORT) += 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@@ -76,6 +71,12 @@ obj-$(CONFIG_IDE) += ide/
33 obj-$(CONFIG_SCSI) += scsi/
34 obj-y += nvme/
35 obj-$(CONFIG_ATA) += ata/
36+
37+# gpu/ comes after char for AGP vs DRM startup and after iommu
38+obj-y += gpu/
39+# i810fb and intelfb depend on char/agp/
40+obj-$(CONFIG_FB_I810) += video/fbdev/i810/
41+obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
42 obj-$(CONFIG_TARGET_CORE) += target/
43 obj-$(CONFIG_MTD) += mtd/
44 obj-$(CONFIG_SPI) += spi/
45--
462.11.1
47