Skip to content

Commit

Permalink
tici: max GPU power (#33650)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Sep 25, 2024
1 parent b4865dc commit 87b30b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/hardware/tici/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ def initialize_hardware(self):

# *** GPU config ***
# https://github.com/commaai/agnos-kernel-sdm845/blob/master/arch/arm64/boot/dts/qcom/sdm845-gpu.dtsi#L216
sudo_write("1", "/sys/class/kgsl/kgsl-3d0/min_pwrlevel")
sudo_write("1", "/sys/class/kgsl/kgsl-3d0/max_pwrlevel")
sudo_write("0", "/sys/class/kgsl/kgsl-3d0/min_pwrlevel")
sudo_write("0", "/sys/class/kgsl/kgsl-3d0/max_pwrlevel")
sudo_write("1", "/sys/class/kgsl/kgsl-3d0/force_bus_on")
sudo_write("1", "/sys/class/kgsl/kgsl-3d0/force_clk_on")
sudo_write("1", "/sys/class/kgsl/kgsl-3d0/force_rail_on")
Expand Down

0 comments on commit 87b30b2

Please sign in to comment.