diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-05-22 08:43:50 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-05-23 14:58:35 +0200 |
commit | 16b0e3313f53566481c106ace9992e477f8efe9b (patch) | |
tree | 5ec03a62db7836d2fb59813cb0c912751556c378 /patches/boot_time_opt/0118-Initialize-ata-before-graphics.patch | |
parent | 28da254d1c5ae012a6e064671aa14850c2a21a25 (diff) | |
download | enea-kernel-cache-16b0e3313f53566481c106ace9992e477f8efe9b.tar.gz |
patches: Boot time optimizations with ClearLinux patches
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
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.patch | 47 |
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 @@ | |||
1 | From fbc1ab7c18a9c960a0bff293a93620d581658f8d Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Thu, 2 Jun 2016 23:36:32 -0500 | ||
4 | Subject: [PATCH 118/124] Initialize ata before graphics | ||
5 | |||
6 | ATA init is the long pole in the boot process, and its asynchronous. | ||
7 | move the graphics init after it so that ata and graphics initialize | ||
8 | in parallel | ||
9 | --- | ||
10 | drivers/Makefile | 11 ++++++----- | ||
11 | 1 file changed, 6 insertions(+), 5 deletions(-) | ||
12 | |||
13 | diff --git a/drivers/Makefile b/drivers/Makefile | ||
14 | index 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 | -- | ||
46 | 2.11.1 | ||
47 | |||