10.1 kernel device config for drm2 and kms drivers
Konstantin Belousov
kostikbel at gmail.com
Thu Sep 11 08:46:33 UTC 2014
On Thu, Sep 11, 2014 at 10:28:26AM +0200, Jean-S??bastien P??dron wrote:
> 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.
I did not added file list to the static kernel config due to display
becoming blank after the driver initialization, which is very early
for the syscons setup. Might be, since vt is functional, this may
be reconsidered.
Driver initialization was never tested when loaded from loader, I
have no idea how i915 starts up with interrupts still disabled.
>
> 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: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140911/4d83a751/attachment.sig>
More information about the freebsd-stable
mailing list