17:43 colo: I would like to try packaging Intel iGPU firmware for OpenWrt, and have a hard time coming up with a decent split to keep package size in check (OpenWrt x86 has 100MiB rootfs size by default). is there an authoritative document that maps files in firmware/i915/ to GPU generations and maybe even purpose?
17:43 colo: (I am mostly interested in making sure that power management can be done)
19:38 cheako: colo: I'm guessing the kernel does something when it needs firmware, when it needs a module the kernel will run insmod. You can replace whatever is done to load firmware with a script that logs to `/tmp` and then runs the real firmware loader. It sounds like you want to put the firmware on the real root and not store it in the initrd, this sound beautiful.
19:42 cheako: I would file an issue to both systemd and initramfs to see if this feature could be added, as GPU drivers isn't something needed to mount a root filesystem and it's kinda lame to pack the video driver into the initramfs as is the common practice.
19:43 colo: well you need working graphics/DRM anyway for that flicker-free boot stuff they all wanted to have a few years ago ;)
19:44 colo: fwiw, I did a split between DMC, GUC and HUC fw, and decided against a split per iGPU generation
19:44 colo: (mostly since DMC turned out to be so tiny)
21:03 colo: [ 65.465471] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.
21:03 colo: # ls -l /lib/firmware/i915/kbl_dmc_ver1_04.bin
21:03 colo: -rw-r--r-- 1 root root 8840 Aug 4 19:21 /lib/firmware/i915/kbl_dmc_ver1_04.bin
21:03 colo: but why? :(
21:04 colo: what else is required for loading this fw?
22:13 airlied: is there some initramfs?