Skip to content

Commit

Permalink
Add kargs for AMDGPU control
Browse files Browse the repository at this point in the history
  • Loading branch information
askpng committed Oct 13, 2024
1 parent 06897ed commit fcfadc8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions files/usr/share/ublue-os/just/60-custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ t480s-set-fingerprint-sensor:
ex-gnome-vrr:
gsettings set org.gnome.mutter experimental-features "['variable-refresh-rate']"

# set amd_pstate=enable kernel argument for amd_pstate_epp
ex-epp-enable:
# set amd_pstate=enable kernel and amdgpu.ppfeaturemask argument for amd_pstate_epp and amdgpu control
ex-amd-kargs:
rpm-ostree kargs \
--append-if-missing=amd_pstate=active
--append-if-missing=amd_pstate=active \
--append-if-missing=$(printf 'amdgpu.ppfeaturemask=0x%x\n' "$(($(cat /sys/module/amdgpu/parameters/ppfeaturemask) | 0x4000))")

# set kernel arguments for sysrq, memory shuffle & apple keyboard drivers
set-essential-kargs:
Expand Down

0 comments on commit fcfadc8

Please sign in to comment.