add var defaults

This commit is contained in:
Josh Lay 2021-10-18 17:35:11 -05:00
parent ebd0738f3a
commit 6555c23003
Signed by: jlay
GPG key ID: B265E45CACAD108A

View file

@ -3,9 +3,19 @@
hacky solution to integrate AMDGPU power profile control in `tuned` with Ansible hacky solution to integrate AMDGPU power profile control in `tuned` with Ansible
## Notable variables ## Notable variables
- `card`: Sets the `card#` to use in the qualified sysfs path `/sys/class/drm/{{ card }}/device/pp_power_profile_mode` - `card`: Sets the `card#` to use in the qualified sysfs path `/sys/class/drm/{{ card }}/device/pp_power_profile_mode`. Default: `card0`
- `base_profiles`: List of base tuned profiles to clone in the new AMDGPU profiles - `base_profiles`: List of base tuned profiles to clone in the new AMDGPU profiles. Defaults:
- `amdgpu_profiles`: Mapping of AMDGPU power profiles (`name`/`value`) defined in the `sysfs` path above. Varies, sample is with a 6900XT. - `desktop`
- `network-latency`
- `powersave`
- `amdgpu_profiles`: Mapping of AMDGPU power profiles (`name`/`value`) defined in the `sysfs` path above. Varies, sample is with a 6900XT. Defaults:
- `{ name: 'bootup_default', value: 0 }`
- `{ name: '3D_fullscreen', value: 1 }`
- `{ name: 'powersaving', value: 2 }`
- `{ name: 'video', value: 3 }`
- `{ name: 'VR', value: 4 }`
- `{ name: 'compute', value: 5 }`
- `{ name: 'custom', value: 6 }`
## Example profiles/output ## Example profiles/output
``` ```