Skip to content

Commit

Permalink
Created a custom fan curve with inbuilt interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesBHuff committed Apr 20, 2021
1 parent 4514ed6 commit 7b6dda2
Showing 1 changed file with 42 additions and 14 deletions.
56 changes: 42 additions & 14 deletions src/board/system76/oryp7/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,55 @@ CFLAGS+=-DSYNC_FANS=1
CFLAGS+=-DBOARD_HEATUP=5
CFLAGS+=-DBOARD_COOLDOWN=20
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(50, 0), \
FAN_POINT(51, 5), \
FAN_POINT(52, 10), \
FAN_POINT(53, 15), \
FAN_POINT(54, 20), \
FAN_POINT(55, 25), \
FAN_POINT(56, 30), \
FAN_POINT(57, 35), \
FAN_POINT(58, 40), \
FAN_POINT(59, 45), \
FAN_POINT(60, 50), \
FAN_POINT(61, 55), \
FAN_POINT(62, 60), \
FAN_POINT(63, 65), \
FAN_POINT(64, 70), \
FAN_POINT(65, 75), \
FAN_POINT(66, 80), \
FAN_POINT(67, 85), \
FAN_POINT(68, 90), \
FAN_POINT(69, 95), \
FAN_POINT(70, 100) \
"

# Enable DGPU support
CFLAGS+=-DHAVE_DGPU=1
CFLAGS+=-DBOARD_DGPU_HEATUP=5
CFLAGS+=-DBOARD_DGPU_COOLDOWN=20
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(50, 0), \
FAN_POINT(51, 5), \
FAN_POINT(52, 10), \
FAN_POINT(53, 15), \
FAN_POINT(54, 20), \
FAN_POINT(55, 25), \
FAN_POINT(56, 30), \
FAN_POINT(57, 35), \
FAN_POINT(58, 40), \
FAN_POINT(59, 45), \
FAN_POINT(60, 50), \
FAN_POINT(61, 55), \
FAN_POINT(62, 60), \
FAN_POINT(63, 65), \
FAN_POINT(64, 70), \
FAN_POINT(65, 75), \
FAN_POINT(66, 80), \
FAN_POINT(67, 85), \
FAN_POINT(68, 90), \
FAN_POINT(69, 95), \
FAN_POINT(70, 100) \
"

# Add system76 common code
Expand Down

0 comments on commit 7b6dda2

Please sign in to comment.