From 6555c230034def929cce8ceb9aa1938cbd017c16 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Mon, 18 Oct 2021 17:35:11 -0500 Subject: [PATCH] add var defaults --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4a18157..e8941c3 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,19 @@ hacky solution to integrate AMDGPU power profile control in `tuned` with Ansible ## Notable variables - - `card`: Sets the `card#` to use in the qualified sysfs path `/sys/class/drm/{{ card }}/device/pp_power_profile_mode` - - `base_profiles`: List of base tuned profiles to clone in the new AMDGPU profiles - - `amdgpu_profiles`: Mapping of AMDGPU power profiles (`name`/`value`) defined in the `sysfs` path above. Varies, sample is with a 6900XT. + - `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. Defaults: + - `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 ```