Public bug reported:

[ Impact ]

Currently, when the amdgpu driver tries to load firmware that is
optional and fails, it emits error:

        Direct firmware load for amdgpu/%s.bin failed with error -2

In the situations where the firmware is optional, this should be treated
as false alarm. The driver should emit this message only when missing
necessary firmware.


[ Fix ]

Backport the following patch and its dependent patches:

    ea5d49349894 drm/amd: Add the capability to mark certain firmware as
"required"

This patch makes it possible to specify if a firmware is necessary for
amdgpu, and use the *_nowarn variant of firmware loading functions for
optional firmware, so that the kernel doesn't emit error if the firmware
is not found.


[ Test ]

0. Find a machine where the ISP firmware is optional
1. Install and boot the kernel
2. The graphic should work as expected
3. The dmesg shouldn't show the "Direct firmware load for amdgpu/%s.bin failed 
with error -2" message

[ Where the problem could occur]

If some necessary firmware is marked as optional, and the firmware fails
to load, it will fail silently.

** Affects: hwe-next
     Importance: Undecided
         Status: New

** Affects: linux-oem-6.11 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-oem-6.11 (Ubuntu Noble)
     Importance: Undecided
         Status: In Progress


** Tags: jira-delta-154 oem-priority

** Tags added: jira-delta-154 oem-priority

** Also affects: linux-oem-6.11 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: linux-oem-6.11 (Ubuntu Noble)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2091856

Title:
  [SRU] Fix error messages during optional AMDGPU firmware load

Status in HWE Next:
  New
Status in linux-oem-6.11 package in Ubuntu:
  New
Status in linux-oem-6.11 source package in Noble:
  In Progress

Bug description:
  [ Impact ]

  Currently, when the amdgpu driver tries to load firmware that is
  optional and fails, it emits error:

          Direct firmware load for amdgpu/%s.bin failed with error -2

  In the situations where the firmware is optional, this should be
  treated as false alarm. The driver should emit this message only when
  missing necessary firmware.

  
  [ Fix ]

  Backport the following patch and its dependent patches:

      ea5d49349894 drm/amd: Add the capability to mark certain firmware
  as "required"

  This patch makes it possible to specify if a firmware is necessary for
  amdgpu, and use the *_nowarn variant of firmware loading functions for
  optional firmware, so that the kernel doesn't emit error if the
  firmware is not found.

  
  [ Test ]

  0. Find a machine where the ISP firmware is optional
  1. Install and boot the kernel
  2. The graphic should work as expected
  3. The dmesg shouldn't show the "Direct firmware load for amdgpu/%s.bin 
failed with error -2" message

  [ Where the problem could occur]

  If some necessary firmware is marked as optional, and the firmware
  fails to load, it will fail silently.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2091856/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to