From: bugzilla-daemon@freedesktop.org Subject: [Bug 107168] Allow to load firmware during run-time (after initialization) Date: Mon, 09 Jul 2018 16:33:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1698934819==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 39A5D6E554 for ; Mon, 9 Jul 2018 16:33:03 +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 --===============1698934819== Content-Type: multipart/alternative; boundary="15311539831.4ae85e92f.17681" Content-Transfer-Encoding: 7bit --15311539831.4ae85e92f.17681 Date: Mon, 9 Jul 2018 16:33:03 +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 #4 from Paul Menzel --- (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 the > firmwares are loaded. That would be enough for me for entering the LUKS password. > You might as well just use the efifb driver and then load the driver later > after the filesystem is available. There are several problems with that. 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 not spent precious milliseconds loading other display drivers (efifb, corebootf= b). Not having to include these makes the Linux kernel image a little smaller a= nd 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15311539831.4ae85e92f.17681 Date: Mon, 9 Jul 2018 16:33:03 +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 # 4 on bug 10716= 8 from Paul Menzel
(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 c=
ertain parts of the
> > hardware be initialized later on?
>=20
> You can't do anything other than very limited modesetting until the
> firmwares are loaded.

That would be enough for me for entering the LUKS password.

> You might as well just use the efifb driver and =
then load the driver later
> after the filesystem is available.

There are several problems with that.

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 not
spent precious milliseconds loading other display drivers (efifb, corebootf=
b).
Not having to include these makes the Linux kernel image a little smaller a=
nd
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.


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