Skip to content

Commit

Permalink
Add custom fan curve from system76#135 to fix common issues
Browse files Browse the repository at this point in the history
Fixes overthrottling, high temps, steep spinups, etc
  • Loading branch information
MilesBHuff committed Apr 20, 2021
1 parent 4000962 commit 0f089f4
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/board/system76/oryp7/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,30 @@ CFLAGS+=\
-DPOWER_LIMIT_DC=28

# Custom fan curve
CFLAGS+=-DBOARD_HEATUP=5
CFLAGS+=-DBOARD_COOLDOWN=20
CFLAGS+=-DBOARD_HEATUP=2
CFLAGS+=-DBOARD_COOLDOWN=5
CFLAGS+=-DBOARD_FAN_POINTS="\
FAN_POINT(55, 25), \
FAN_POINT(65, 30), \
FAN_POINT(70, 40), \
FAN_POINT(75, 60), \
FAN_POINT(80, 75), \
FAN_POINT(85, 90), \
FAN_POINT(90, 100) \
FAN_POINT(40, 27), \
FAN_POINT(45, 40), \
FAN_POINT(50, 50), \
FAN_POINT(55, 65), \
FAN_POINT(60, 75), \
FAN_POINT(65, 90), \
FAN_POINT(70, 100) \
"

# Enable DGPU support
CFLAGS+=-DHAVE_DGPU=1
CFLAGS+=-DBOARD_DGPU_HEATUP=5
CFLAGS+=-DBOARD_DGPU_COOLDOWN=20
CFLAGS+=-DBOARD_DGPU_HEATUP=2
CFLAGS+=-DBOARD_DGPU_COOLDOWN=5
CFLAGS+=-DBOARD_DGPU_FAN_POINTS="\
FAN_POINT(55, 25), \
FAN_POINT(65, 30), \
FAN_POINT(70, 40), \
FAN_POINT(75, 60), \
FAN_POINT(80, 75), \
FAN_POINT(85, 90), \
FAN_POINT(90, 100) \
FAN_POINT(40, 27), \
FAN_POINT(45, 40), \
FAN_POINT(50, 50), \
FAN_POINT(55, 65), \
FAN_POINT(60, 75), \
FAN_POINT(65, 90), \
FAN_POINT(70, 100) \
"

# Add system76 common code
Expand Down

0 comments on commit 0f089f4

Please sign in to comment.