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

run successful

This commit is contained in:
L3D 2021-09-01 15:58:02 +02:00
parent 432b539edd
commit d706281c0e
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 36 additions and 6 deletions

View file

@ -9,6 +9,7 @@ Ansible role to install some missing ``amdgpu`` Firmware for my AMD Leneovo Thin
This role is only running at: This role is only running at:
```yaml ```yaml
when: when:
- ansible_processor[1] == 'AuthenticAMD'
``` ```
+ It will download the defined Firmware Files from the ``amdgpu__firmware`` variable. + It will download the defined Firmware Files from the ``amdgpu__firmware`` variable.
@ -22,6 +23,39 @@ Optionally you can perform a simple versionscheck, that can prevent you from run
----------- -----------
```yaml ```yaml
--- ---
# 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) # should we do a version check? (true is recomended)
submodules_versioncheck: false submodules_versioncheck: false

View file

@ -4,7 +4,6 @@ amdgpu__download_prefix: 'https://git.kernel.org/pub/scm/linux/kernel/git/firmwa
# define firmware list # define firmware list
amdgpu__firmware: amdgpu__firmware:
- 'amdgpu/vangogh_gpu_info.bin'
- 'amdgpu/vangogh_toc.bin' - 'amdgpu/vangogh_toc.bin'
- 'amdgpu/vangogh_asd.bin' - 'amdgpu/vangogh_asd.bin'
- 'amdgpu/navy_flounder_ta.bin' - 'amdgpu/navy_flounder_ta.bin'
@ -23,8 +22,6 @@ amdgpu__firmware:
- 'amdgpu/navy_flounder_ce.bin' - 'amdgpu/navy_flounder_ce.bin'
- 'amdgpu/vangogh_sdma.bin' - 'amdgpu/vangogh_sdma.bin'
- 'amdgpu/navy_flounder_sdma.bin' - 'amdgpu/navy_flounder_sdma.bin'
- 'amdgpu/sienna_cichlid_mes.bin'
- 'amdgpu/navi10_mes.bin'
- 'amdgpu/vangogh_vcn.bin' - 'amdgpu/vangogh_vcn.bin'
- 'amdgpu/navy_flounder_vcn.bin' - 'amdgpu/navy_flounder_vcn.bin'
- 'amdgpu/arcturus_vcn.bin' - 'amdgpu/arcturus_vcn.bin'

View file

@ -6,5 +6,4 @@
- name: download additional firmware on apu board - name: download additional firmware on apu board
ansible.builtin.include_tasks: kernel_firmware_download.yml ansible.builtin.include_tasks: kernel_firmware_download.yml
when: when:
- ansible_board_name == 'APU' - ansible_processor[1] == 'AuthenticAMD'
- ansible_product_name == 'APU'

View file

@ -1,4 +1,4 @@
--- ---
# versionscheck # versionscheck
playbook_version_number: 5 playbook_version_number: 6
playbook_version_path: 'do1jlr.amdgpu_firmware.version' playbook_version_path: 'do1jlr.amdgpu_firmware.version'