I cannot find any kernel device configuration statements for drm2 or KMS (e.g. i915kms) drivers in any of the NOTES files in 10-STABLE. Presumably configurtation statements for these ought to be available for use in kernel configuration files for 10.1-RELEASE? At present, the only way I have found to pick them up (short of hacking sys/conf/files or building all modules) is by specifying the module in make.conf and then adding the load_ directive to loader.conf. MODULES_OVERRIDE= drm2 -- John Marshall -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 181 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140911/e2cb9e9c/attachment.sig>
Jean-Sébastien Pédron
2014-Sep-11 08:28 UTC
10.1 kernel device config for drm2 and kms drivers
On 11.09.2014 08:47, John Marshall wrote:> I cannot find any kernel device configuration statements for drm2 or KMS > (e.g. i915kms) drivers in any of the NOTES files in 10-STABLE. > Presumably configurtation statements for these ought to be available for > use in kernel configuration files for 10.1-RELEASE?Currently, building DRM drivers into the kernel isn't supported. I guess it's mostly a lack of time and demand. Please file a PR about this so that I keep that in mind. If you have some time and can prepare a patch, that would help too :)> At present, the only way I have found to pick them up (short of hacking > sys/conf/files or building all modules) is by specifying the module in > make.conf and then adding the load_ directive to loader.conf.You can also use the following line in your rc.conf: kld_list="i915kms" The GPU will be initialized a bit later compared to load_i915kms="yes", but the kernel will be loaded faster. Thank you! -- Jean-S?bastien P?dron -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 949 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140911/ac4774ba/attachment.sig>