oem-intel: add i915 DMC fw to initramfs (MR 5237)

Intel >=gen9 GPUs require DMC firmware to support some runtime low power
states, it's loaded when i915 starts so let's make sure it's in the
initramfs.

Also see: https://www.kernel.org/doc/html/latest/gpu/i915.html#dmc-firmware-support

[ci:skip-build] already built successfully in CI
This commit is contained in:
Clayton Craft 2024-06-17 22:25:51 -07:00
parent 2364d0a6f8
commit c862361087
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 11 additions and 3 deletions

View file

@ -0,0 +1,2 @@
# DMC fw is required on newer GPUs to enable lower power states
/lib/firmware/i915/*_dmc*

View file

@ -1,8 +1,8 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net> # Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=oem-intel pkgname=oem-intel
pkgdesc="Intel device support" pkgdesc="Intel device support"
pkgver=3 pkgver=4
pkgrel=1 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="x86_64" arch="x86_64"
@ -18,11 +18,16 @@ subpackages="
$pkgname-libva $pkgname-libva
$pkgname-vulkan $pkgname-vulkan
" "
source="00-oem-intel.modules" source="
00-oem-intel.modules
00-oem-intel-i915-firmware.files
"
package() { package() {
install -Dm644 00-oem-intel.modules \ install -Dm644 00-oem-intel.modules \
-t "$pkgdir"/usr/share/mkinitfs/modules -t "$pkgdir"/usr/share/mkinitfs/modules
install -Dm644 00-oem-intel-i915-firmware.files \
-t "$pkgdir"/usr/share/mkinitfs/files
} }
libva() { libva() {
@ -43,4 +48,5 @@ vulkan() {
sha512sums=" sha512sums="
48b8c0454c8c80e7ad0ebd139c01790eed3fbd4265bf4ce64882d354b091ac7f63084eaf2b00d1244a7a692c73fa900193724577f9a8d753fa8b6743fe1c8990 00-oem-intel.modules 48b8c0454c8c80e7ad0ebd139c01790eed3fbd4265bf4ce64882d354b091ac7f63084eaf2b00d1244a7a692c73fa900193724577f9a8d753fa8b6743fe1c8990 00-oem-intel.modules
c17f5c505e0e280a9e51ac1b4264e7703b744fd3831d75ce95f41be4755ae4ccd24b7ca09ba1e236df499a5e748c64a0d2054c9d55d8c8c713fa8c5646ed9a3c 00-oem-intel-i915-firmware.files
" "