Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 11:46:24 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Jean-S??bastien P??dron <dumbbell@FreeBSD.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 10.1 kernel device config for drm2 and kms drivers
Message-ID:  <20140911084624.GK2737@kib.kiev.ua>
In-Reply-To: <54115D2A.5020802@FreeBSD.org>
References:  <20140911064731.GA15930@rwpc15.gfn.riverwillow.net.au> <54115D2A.5020802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--5587ow7Bqi7FXI0s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
>=20
> 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.

>=20
> 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 :)
>=20
> > 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.
>=20
> You can also use the following line in your rc.conf:
> kld_list=3D"i915kms"
>=20
> The GPU will be initialized a bit later compared to load_i915kms=3D"yes",
> but the kernel will be loaded faster.
>=20
> Thank you!
>=20
> --=20
> Jean-S??bastien P??dron
>=20



--5587ow7Bqi7FXI0s
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUEWFfAAoJEJDCuSvBvK1B/0wP/jLw/xA7WevZcNjSHGbvNX/9
jO2dcppMxQUVUeoCCxMtx9xgSoC3UlcXuDSXQi4+IxQZ0RNmGUIUwjRd0SsueSE9
/Mu9KY5yNgMLjDuRlDMquTDw4f03lz9w0wPl5GOHUerJ7dFkmsxc1u8qq6HhX3Am
9cyg3SSDlBeUFlXAl/HhlpNzuMQSKLZjt/hYi985SCFjQ0zhyC2nz/OU5FZxszHc
e6u6ZDXZh/UfH1jkPaWZiIn0RO0J8GopyH/E1pEV3iloxvbJzVA04xMkk5g6ycCY
7zImrPbylDc7LRhHGzJ4l7+OeMCm+svPhbHdYoz/XcmwB/hvkV6APWwpqGLJNe20
KeT/2Ac/0+Dy12UCm48apFrxGAOQ1j8H6zEM1xXmKKtPw0iy2eAuHOpu8HzN18AR
KMRVz8/N996X5VLhF7wKUTn83MwCqoCPWoOfgphMvE1Id05ULaDBkg+aUbdDOQeM
ulIIpoJAk+eK+GpnmDQV6uaGSoytFUXuTzZKhSGQ+iOlF4cp/Bg/ok7D/8aIRnpF
OECOFSMt7bnGJqeKbokhpbfO3NTM4CyMv691LChnAoh4iai6fi569XF4RpHTL6Oz
dqfrhAZ1NSv3FLsrzupFD04pZYhUvWIUWZz4iKBndk9p/Z/gGTlhflr7LDSGKwzo
9rGzSENWamO3zMHISTDk
=1OWY
-----END PGP SIGNATURE-----

--5587ow7Bqi7FXI0s--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140911084624.GK2737>