1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_amdgpu_firmware.git synced 2024-08-16 14:59:49 +02:00
Find a file
2023-10-29 02:53:26 +01:00
.github cleanup, linting and update 2023-10-29 01:14:14 +02:00
defaults run successful 2021-09-01 15:58:02 +02:00
handlers cleanup, linting and update 2023-10-29 01:14:14 +02:00
meta cleanup, linting and update 2023-10-29 01:14:14 +02:00
tasks Fix 2023-10-29 02:53:26 +01:00
vars Fix 2023-10-29 02:53:26 +01:00
.gitignore fixing linting 2021-09-01 03:10:34 +02:00
.yamllint Initial commit 2021-09-01 01:50:11 +02:00
LICENSE Initial commit 2021-09-01 01:50:11 +02:00
README.md run successful 2021-09-01 15:58:02 +02:00

Galaxy License

ansible role amdgpu_firmware

Ansible role to install some missing amdgpu Firmware for my AMD Leneovo Thinkpad (L14).

This role is only running at:

when:
  - ansible_processor[1] == 'AuthenticAMD'
  • It will download the defined Firmware Files from the amdgpu__firmware variable.
  • Then we run update-initramfs -k all -u.

You can change the downloaded firmware file names by modifying the default variables.

Optionally you can perform a simple versionscheck, that can prevent you from running a older version of this role accidentially.

Variables

---
# define download url prefix
amdgpu__download_prefix: 'https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain'

# define firmware list
amdgpu__firmware:
  - 'amdgpu/vangogh_toc.bin'
  - 'amdgpu/vangogh_asd.bin'
  - 'amdgpu/navy_flounder_ta.bin'
  - 'amdgpu/navy_flounder_sos.bin'
  - 'amdgpu/vangogh_rlc.bin'
  - 'amdgpu/vangogh_mec2.bin'
  - 'amdgpu/vangogh_mec.bin'
  - 'amdgpu/vangogh_me.bin'
  - 'amdgpu/vangogh_pfp.bin'
  - 'amdgpu/vangogh_ce.bin'
  - 'amdgpu/navy_flounder_rlc.bin'
  - 'amdgpu/navy_flounder_mec2.bin'
  - 'amdgpu/navy_flounder_mec.bin'
  - 'amdgpu/navy_flounder_me.bin'
  - 'amdgpu/navy_flounder_pfp.bin'
  - 'amdgpu/navy_flounder_ce.bin'
  - 'amdgpu/vangogh_sdma.bin'
  - 'amdgpu/navy_flounder_sdma.bin'
  - 'amdgpu/vangogh_vcn.bin'
  - 'amdgpu/navy_flounder_vcn.bin'
  - 'amdgpu/arcturus_vcn.bin'
  - 'amdgpu/navy_flounder_smc.bin'
  - 'amdgpu/arcturus_smc.bin'
  - 'amdgpu/vangogh_dmcub.bin'
  - 'amdgpu/navy_flounder_dmcub.bin'

amdgpu__path_prefix: '/lib/firmware'
amdgpu__path_suffix: 'amdgpu'

# should we do a version check? (true is recomended)
submodules_versioncheck: false