openwrt/package/firmware/linux-firmware
Joe Zheng ca00bafd7e linux-firmware: rename packages for i915 firmware
Change the package name from intel-igpu-firmware-* to i915-firmware-*,
the prefix "intel-igpu" is misleading, i915 firmware is not only for
iGPU but also for dGPU now.

Remove the redundant "intel" as i915 is already well known.

More accurate file classification to handle following files correctly:

  adlp_dmc.bin
  mtl_huc.bin
  mtl_huc_gsc.bin
  mtl_gsc_1.bin

The pattern in regex is "([[:alnum:]]+)_([[:alnum:]]+)(_[\w-.]+)?\.bin",
where $1 is the platform, $2 is the firmware type (dmc, guc, huc, etc.),
and the optional $3 which is revision or other suffix.

Glob first to narrow down the target file set, and then split with "_"
to extract the firmware type (remove the ".bin" in case there is no $3)

Add package "i915-firmware" as a meta package to install all the i915
firmwares, it is a balance between simplicity and optimization.

* Installing all the available firmwares as a whole, can support all the
  platforms, not only the current one but also the future ones. The
  price to pay is the increased size.
* If we want to minimize the storage, we can customize to install the
  necessary ones only, even for the target platform only (e.g. ADL) and
  skip the others. The price to pay is the time to tune.

What I am going to do is:

* Let drm-i915 driver depend on i915-firmware-dmc, which is small and
  can cover most of the old platforms
* Let the user select i915-firmware to install all the i915 firmwares as
  a whole to cover the latest or future platforms

Signed-off-by: Joe Zheng <joe.zheng@intel.com>
Link: https://github.com/openwrt/openwrt/pull/16276
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-11-15 19:03:21 +01:00
..
airoha.mk linux-firmware: add missing LICENSE_FILES info 2024-03-29 13:11:47 +01:00
amd.mk linux-firmware: amd64-microcode: Remove TARGET_x86 dependency 2024-07-30 21:42:33 +02:00
broadcom.mk linux-firmware: add missing LICENSE_FILES info 2024-03-29 13:11:47 +01:00
cis.mk firmware: add support for PCMCIA Aircard's 2016-12-20 09:35:36 +01:00
edgeport.mk linux-firmware: add IO Edgeport USB Serial firmware 2017-11-16 22:56:54 +01:00
intel.mk linux-firmware: rename packages for i915 firmware 2024-11-15 19:03:21 +01:00
Makefile linux-firmware: Update to version 20241017 2024-10-19 17:36:50 +02:00
marvell.mk linux-firmware: add missing LICENSE_FILES info 2024-03-29 13:11:47 +01:00
mediatek.mk linux-firmware: add offloading firmware for MT7988 2024-10-23 13:40:09 +01:00
mellanox.mk linux-firmware: add firmware for all Mellanox Spectrum Switches 2024-08-29 20:39:48 +02:00
misc.mk linux-firmware: package EIP197 mini firmware 2020-07-11 13:33:28 +02:00
qca_ath10k.mk linux-firmware: add missing LICENSE_FILES info 2024-03-29 13:11:47 +01:00
qca_ath11k.mk linux-firmware: add missing LICENSE_FILES info 2024-03-29 13:11:47 +01:00
qca_ath12k.mk linux-firmware: qualcomm: add WCN7850 firmware 2024-09-23 00:34:08 +02:00
qca.mk linux-firmware: add missing LICENSE_FILES info 2024-03-29 13:11:47 +01:00
realtek.mk linux-firmware: add firmware for Realtek RTL8192DU 2024-10-19 17:36:51 +02:00
rsi.mk mac80211: add RedPine RS9113 module support 2018-04-18 23:56:55 +02:00
ti.mk linux-firmware: add missing LICENSE_FILES info 2024-03-29 13:11:47 +01:00