2018-12-27 17:53:01 +08:00
|
|
|
From 4c4b0b55c8b1d52b42696520215de64069a4bbd9 Mon Sep 17 00:00:00 2001
|
2018-12-19 15:57:25 +08:00
|
|
|
From: Feng Tang <feng.tang@intel.com>
|
|
|
|
Date: Tue, 11 Dec 2018 11:27:52 +0800
|
2018-12-27 17:53:01 +08:00
|
|
|
Subject: [PATCH] i915: make driver init async
|
2018-12-19 15:57:25 +08:00
|
|
|
|
|
|
|
Making i915 driver init async will help much on boot time, which
|
|
|
|
will also help to meet the tough GP2.0 boot time target,
|
|
|
|
|
|
|
|
The patch has been submitted to upstream half a year ago, and after
|
|
|
|
discussing many rounds, no technical issue/open was left. Though
|
|
|
|
it's not merged yet, it still means the quality of the patch passed
|
|
|
|
the reviews of upstream.
|
|
|
|
|
|
|
|
Upstream discussion thread: https://www.spinics.net/lists/intel-gfx/msg167120.html
|
|
|
|
|
|
|
|
Tracked-On: PKT-1601
|
|
|
|
Signed-off-by: Feng Tang <feng.tang@intel.com>
|
|
|
|
---
|
|
|
|
drivers/gpu/drm/i915/i915_pci.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
|
2018-12-27 17:53:01 +08:00
|
|
|
index 1df3ce1..fcf5e3f 100644
|
2018-12-19 15:57:25 +08:00
|
|
|
--- a/drivers/gpu/drm/i915/i915_pci.c
|
|
|
|
+++ b/drivers/gpu/drm/i915/i915_pci.c
|
|
|
|
@@ -737,6 +737,7 @@ static struct pci_driver i915_pci_driver = {
|
|
|
|
.probe = i915_pci_probe,
|
|
|
|
.remove = i915_pci_remove,
|
|
|
|
.driver.pm = &i915_pm_ops,
|
|
|
|
+ .driver.probe_type = PROBE_PREFER_ASYNCHRONOUS
|
|
|
|
};
|
|
|
|
|
|
|
|
static int __init i915_init(void)
|
|
|
|
--
|
2018-12-27 17:53:01 +08:00
|
|
|
2.7.4
|
2018-12-19 15:57:25 +08:00
|
|
|
|