-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update-amd-tdp #13157
base: master
Are you sure you want to change the base?
update-amd-tdp #13157
Conversation
e780702
to
e7267c7
Compare
e92d6fd
to
e0cfa5c
Compare
@bryanforbes thanks for reviewing, I’ll fix some of the obvious stuff I missed in the first draft of changes. The issue with a system or game tdp value but not global I didn’t even think of, I’ll address that as well. I’ll try to find time this coming weekend to work on it. |
e0cfa5c
to
cf64868
Compare
Updated PR to resolve prior issues and clean up some. Also changed the resume script to better handle situations where if a user has a per system/game tdp value and suspends while a game is running it will save tdp, suspend, resume, and the revert back to saved tdp value. This is needed since ryzenadj changes do not persist after suspend. |
cf64868
to
0328d07
Compare
Made recommended changes by @bryanforbes and moved PR out of draft |
Update es_features.yml Update tdp_hooks.sh Update batocera-amd-tdp Update batocera-amd-tdp amd-tdp-update update Update 99resume_tdp
0328d07
to
7b572b7
Compare
@dmanlfc would you mind reviewing this? I think it's ready to go. |
Aims to change behavior of amd TDP scripts to account for new slider which when set to "auto" will not have an entry in batocera.conf and should allow system bios to determine tdp values.
Improved resume script which now saves the current tdp to a temp file if it does not equal system.cpu.tdp, which is then used to revert back to after resume. This should handle situations where a user suspends while a game is running ensuring per system/game setting is kept.
Refactor code for better readability.
stapm/fast/slow set to same tdp value.
Also removed hard coded temp limit so bios can handle it. May be beneficial to include a separate temp limit slider which could be used in the future.