From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107168] Allow to load firmware during run-time (after initialization) Date: Mon, 09 Jul 2018 16:26:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0433706791==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1E33D6E55B for ; Mon, 9 Jul 2018 16:26:47 +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 --===============0433706791== Content-Type: multipart/alternative; boundary="15311536070.E28134F8.16656" Content-Transfer-Encoding: 7bit --15311536070.E28134F8.16656 Date: Mon, 9 Jul 2018 16:26:47 +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 #3 from Alex Deucher --- (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 p= arts of the > hardware be initialized later on? You can't do anything other than very limited modesetting until the firmwar= es are loaded. You might as well just use the efifb driver and then load the driver later after the filesystem is available. There's not really anything you can initialize without firmware. MC and SMC firmware are required to adjust the clocks which is required for performance and for bandwidth requirements for high res display configurations. You can't use the SDMA hardware without firmware so that means no GPU memory management or GPU VM updates and you are limited to 256 MB of vram (PCI BAR size) on most platfo= rms. You can't use the gfx/compute engines without the CP firmware. You can't = use the multi-media engines without firmware. Etc. Not to mention you now have multiple code paths to validate at the hw and sw level. --=20 You are receiving this mail because: You are the assignee for the bug.= --15311536070.E28134F8.16656 Date: Mon, 9 Jul 2018 16:26:47 +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 # 3 on bug 10716= 8 from Alex Deucher
(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 certai=
n parts of the
> hardware be initialized later on?

You can't do anything other than very limited modesetting until the firmwar=
es
are loaded.  You might as well just use the efifb driver and then load the
driver later after the filesystem is available.  There's not really anything
you can initialize without firmware.  MC and SMC firmware are required to
adjust the clocks which is required for performance and for bandwidth
requirements for high res display configurations.  You can't use the SDMA
hardware without firmware so that means no GPU memory management or GPU VM
updates and you are limited to 256 MB of vram (PCI BAR size) on most platfo=
rms.
 You can't use the gfx/compute engines without the CP firmware.  You can't =
use
the multi-media engines without firmware. Etc.  Not to mention you now have
multiple code paths to validate at the hw and sw level.


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