[linux-yocto] [kernel-cache][yocto-4.12][V2][PATCH 1/1] features/i915/i915.cfg: compile i915 as a module

Liwei Song liwei.song at windriver.com
Wed Dec 6 20:27:59 PST 2017


Set i915 as a module to trigger the firmware load
at the same time the module is loaded.

This can avoid a timing problem between the driver starting
and it triggering a firmware load, after compile it as module
i915 driver will start after the rootfs is ready, then the
firmware store in /lib/firmware/ can be load successful by
i915 driver.

Signed-off-by: Liwei Song <liwei.song at windriver.com>
---
 features/i915/i915.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/i915/i915.cfg b/features/i915/i915.cfg
index 6dcc60f2dfc7..60cb963e014b 100644
--- a/features/i915/i915.cfg
+++ b/features/i915/i915.cfg
@@ -8,6 +8,6 @@ CONFIG_AGP=y
 CONFIG_AGP_INTEL=y
 CONFIG_DRM=y
 CONFIG_DRM_KMS_HELPER=y
-CONFIG_DRM_I915=y
+CONFIG_DRM_I915=m
 CONFIG_DRM_KMS_FB_HELPER=y
 CONFIG_DRM_I915_ALPHA_SUPPORT=y
-- 
2.7.4



More information about the linux-yocto mailing list