No description
  • Makefile 98%
  • Shell 2%
Find a file
Emmanuel Vadot 1da5640581 amdgpu: Sync more files
Some files weren't added from the 20250808 linux-firmware tag.

Fixes:  aed4df8a5f ("Update firmwares for DRM drivers")
2025-12-12 18:59:15 +01:00
amdgpukmsfw amdgpu: Sync more files 2025-12-12 18:59:15 +01:00
amdgpukmsfw-files amdgpu: Sync more files 2025-12-12 18:59:15 +01:00
i915kmsfw Update firmwares for DRM drivers from Linux 6.7 2025-01-31 18:21:49 +01:00
i915kmsfw-files Update firmwares for DRM drivers 2025-12-12 17:53:02 +01:00
radeonkmsfw radeon: Delete debug echo in gen-makefiles 2025-01-26 16:31:13 +01:00
radeonkmsfw-files Remove uuencoded files 2021-03-30 21:40:33 +02:00
.cirrus.yml cirrus-ci: Test installing the modules so we catch kldxref errors. 2022-05-20 17:06:14 +02:00
.gitignore Git: Ignore compilation artefacts 2023-02-14 08:14:23 +01:00
LICENSE.i915 Disentangle the license files for AMD and Intel firmwares. 2017-08-29 21:03:50 -04:00
LICENSE.radeon Disentangle the license files for AMD and Intel firmwares. 2017-08-29 21:03:50 -04:00
Makefile Remove $FreeBSD$ from Makefiles 2025-01-26 15:58:59 +01:00
README.md Add instruction for where to find firmware version for i915 on 6.6 2025-12-11 15:37:34 +01:00

drm-kmod-firmware

Firmware for use with drm-kmod drivers.

Contributing

Notes

These firmware modules are for use with the FreeBSD kms drm drivers. They are originally obtained from the linux-firmware repository, located here: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Directory structure

The firmware files are located in amdgpukmsfw-files, i915kmsfw-files and radeonkmsfw-files directories, for respective driver. The directories with the same names, but without -files, contain Makefiles for building firmware kmods for loading into the FreeBSD kernel.

Adding new firmware

Intel

Intel firmwares are versioned so we just import the needed ones. Since there is multiple drm-kmod version supported on the different version of FreeBSD we need different versions of the firmwares too.

For 5.10-lts (Supported on FreeBSD 13.1 and above) :

DMC firmware : https://github.com/freebsd/drm-kmod/blob/5.10-lts/drivers/gpu/drm/i915/display/intel_csr.c#L43

GuC/HuC firmware : https://github.com/freebsd/drm-kmod/blob/5.10-lts/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c#L53

For 5.15-lts (Supported on FreeBSD 14.0 and above) :

DMC firmware : https://github.com/freebsd/drm-kmod/blob/5.15-lts/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c#L50

GuC/HuC firmware : https://github.com/freebsd/drm-kmod/blob/5.15-lts/drivers/gpu/drm/i915/display/intel_dmc.c#L48

For 6.1-lts (Supported on FreeBSD 15.0 and above) :

DMC firmware : https://github.com/freebsd/drm-kmod/blob/6.1-lts/drivers/gpu/drm/i915/display/intel_dmc.c#L55

GuC/HuC firmware : https://github.com/freebsd/drm-kmod/blob/6.1-lts/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c#L50

For 6.6-lts (Supported on FreeBSD 15.0 and above) :

DMC firmware : https://github.com/freebsd/drm-kmod/blob/6.6-lts/drivers/gpu/drm/i915/display/intel_dmc.c#L96

GuC/HuC firmware : https://github.com/freebsd/drm-kmod/blob/6.6-lts/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c#L90

Download the firmware from the git repo above and do one commit related to the drm-kmod version bump. So if upgrading to drm vX.Y needs three new firmware for different Intel hardware do one commit for the three.