openwrt/package/firmware
Joe Zheng f59c665660
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>
(cherry picked from commit ca00bafd7e)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-11-28 18:47:17 +00:00
..
ath10k-ct-firmware treewide: use APK compatible version schema 2024-03-22 22:14:22 +01:00
ath11k-firmware ath11k-firmware: update IPQ8074 and QCN9074 to 2.9.0.1-02146 2024-10-17 17:46:47 +02:00
broadcom-sprom treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
cypress-firmware cypress-firmware: fix version for APK 2024-10-29 00:07:51 +01:00
cypress-nvram cypress-nvram: consolidate NVRAM packages 2022-11-16 20:14:13 +01:00
intel-microcode firmware: intel-microcode: update to 20240531 2024-06-15 11:20:13 +02:00
ipq-wifi ipq-wifi: update to latest version 2024-10-08 2024-10-08 19:33:33 +02:00
ixp4xx-microcode firmware: Resurrect the ixp4xx microcode package 2023-10-25 11:28:15 +02:00
lantiq dsl-vrx200-firmware-xdsl: fix PKG_VERSION for APK 2024-10-29 00:07:55 +01:00
layerscape ls-mc: bump to 10.39.0 2024-09-22 16:21:02 +02:00
linux-firmware linux-firmware: rename packages for i915 firmware 2024-11-28 18:47:17 +00:00
omnia-mcu-firmware packages: drop DEVICE specific dependency for omnia 2024-11-28 18:46:20 +00:00
prism54-firmware prism54-firmware: set DL_DIR to package specific subdirectory 2022-09-22 16:48:37 -04:00
wireless-regdb wireless-regdb: Update to version 2024.10.07 2024-10-12 21:56:44 +02:00