Bug 107136 - Allow to load firmware during run-time (after initialization)
Summary: Allow to load firmware during run-time (after initialization)
Status: CLOSED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: low enhancement
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: Triaged, ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-06 10:29 UTC by Paul Menzel
Modified: 2018-10-24 08:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features: firmware/dmc


Attachments

Description Paul Menzel 2018-07-06 10:29:07 UTC
Building the i915 driver into the Linux kernel, that means not as a module, *without* an initrd image, the message below is shown.

    [    0.427657] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_27.bin failed with error -2
    [    0.428121] i915 0000:00:02.0: Failed to load DMC firmware i915/skl_dmc_ver1_27.bin. Disabling runtime power management.
    [    0.428650] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

The firmware is present on the filesystem, but it has not been mounted yet.

    $ ls -l /lib/firmware/i915/skl_dmc_ver1_27.bin
    -rw-rw-r-- 1 root root 8928 Jun  6 19:23 /lib/firmware/i915/skl_dmc_ver1_27.bin

The firmware can be added using `EXTRA_FIRMWARE`, but that makes it difficult if the Linux kernel should be shared between different systems using different hardware generations.

The best solution would be to not require firmware at all as in earlier hardware generations.

As a workaround it’d be great if the driver supported to load firmware after the initialization phase.
Comment 1 Jani Nikula 2018-10-24 08:31:17 UTC
Sorry, I don't think we want to take on supporting this configuration.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.