From owner-freebsd-stable@FreeBSD.ORG Thu Sep 11 08:46:33 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02B17FAD; Thu, 11 Sep 2014 08:46:33 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97E15273; Thu, 11 Sep 2014 08:46:32 +0000 (UTC) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id s8B8kOJ6078964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Sep 2014 11:46:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua s8B8kOJ6078964 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id s8B8kOeZ078963; Thu, 11 Sep 2014 11:46:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 11 Sep 2014 11:46:24 +0300 From: Konstantin Belousov To: Jean-S??bastien P??dron Subject: Re: 10.1 kernel device config for drm2 and kms drivers Message-ID: <20140911084624.GK2737@kib.kiev.ua> References: <20140911064731.GA15930@rwpc15.gfn.riverwillow.net.au> <54115D2A.5020802@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5587ow7Bqi7FXI0s" Content-Disposition: inline In-Reply-To: <54115D2A.5020802@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 08:46:33 -0000 --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--