From: bugzilla-daemon@freedesktop.org Subject: [Bug 107168] Allow to load firmware during run-time (after initialization) Date: Mon, 09 Jul 2018 16:42:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1144612598==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3704E6E557 for ; Mon, 9 Jul 2018 16:42:50 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1144612598== Content-Type: multipart/alternative; boundary="15311545700.Fc2cE2.19234" Content-Transfer-Encoding: 7bit --15311545700.Fc2cE2.19234 Date: Mon, 9 Jul 2018 16:42:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107168 --- Comment #5 from Alex Deucher --- (In reply to Paul Menzel from comment #4) > (In reply to Alex Deucher from comment #3) > > (In reply to Paul Menzel from comment #2) > > > (In reply to Alex Deucher from comment #1) > > > > You need the firmware for initialization. > > >=20 > > > What=E2=80=99s the technical reason for this. Why can=E2=80=99t certa= in parts of the > > > hardware be initialized later on? > >=20 > > You can't do anything other than very limited modesetting until the > > firmwares are loaded. >=20 > That would be enough for me for entering the LUKS password. >=20 > > You might as well just use the efifb driver and then load the driver la= ter > > after the filesystem is available. >=20 > There are several problems with that. >=20 > 1. No UEFI based firmware is used, but a coreboot based one. > 2. To boot fast, I like to load the Radeon/AMDGPU driver directly, and n= ot > spent precious milliseconds loading other display drivers (efifb, > corebootfb). Not having to include these makes the Linux kernel image a > little smaller and loading it faster. > 3. Currently loading `radeon` on an ASRock E350M1 and Asus F2A85-M takes > roughly two seconds, which is longer then the OS needs to start. So it=E2= =80=99d be > great to be able to load the firmware while GDM for example starts. That's a different problem, nothing to do with when the firmware loads or whether it's available at driver load time. You still have to do the initialization at some point and that takes time. You are just moving the = when that init happens. So rather than a delay boot, you'll get a delay when starting gdm. --=20 You are receiving this mail because: You are the assignee for the bug.= --15311545700.Fc2cE2.19234 Date: Mon, 9 Jul 2018 16:42:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 5 on bug 10716= 8 from Alex Deucher
(In reply to Paul Menzel from comment #4)
> (In reply to Alex Deucher from comment #3)
> > (In reply to Paul Menzel from comment #2)
> > > (In reply to Alex Deucher from comment #1)
> > > > You need the firmware for initialization.
> > >=20
> > > What=E2=80=99s the technical reason for this. Why can=E2=80=
=99t certain parts of the
> > > hardware be initialized later on?
> >=20
> > You can't do anything other than very limited modesetting until t=
he
> > firmwares are loaded.
>=20
> That would be enough for me for entering the LUKS password.
>=20
> > You might as well just use the efifb driver and then load the dri=
ver later
> > after the filesystem is available.
>=20
> There are several problems with that.
>=20
> 1.  No UEFI based firmware is used, but a coreboot based one.
> 2.  To boot fast, I like to load the Radeon/AMDGPU driver directly, an=
d not
> spent precious milliseconds loading other display drivers (efifb,
> corebootfb). Not having to include these makes the Linux kernel image a
> little smaller and loading it faster.
> 3.  Currently loading `radeon` on an ASRock E350M1 and Asus F2A85-M ta=
kes
> roughly two seconds, which is longer then the OS needs to start. So it=
=E2=80=99d be
> great to be able to load the firmware while GDM for example starts.


That's a different problem, nothing to do with when the firmware loads or
whether it's available at driver load time.  You still have to do the
initialization at some point and that takes time.  You are just moving the =
when
that init happens.  So rather than a delay boot, you'll get a delay when
starting gdm.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15311545700.Fc2cE2.19234-- --===============1144612598== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1144612598==--