Skip to content
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

fix(SteamDeck): add Steam Deck OLED limits #6

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

ShadowApex
Copy link
Contributor

No description provided.

@ShadowApex ShadowApex requested a review from pastaq March 13, 2024 08:08
}
}

fn set_tdp(&mut self, value: f64) -> TDPResult<()> {
log::debug!("Setting TDP to: {}", value);
if value < 1.0 {
log::warn!("Cowardly refusing to set TDP less than 1W");
return Err(TDPError::InvalidArgument(format!("Cowardly refusing to set TDP less than 1W: provided {}W", value)));
return Err(TDPError::InvalidArgument(format!(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the SteamOS kernel expose power1_cap_min and power1_cap_max in sysfs? Not blocking, something to look into as a way to auto detect limits.

@ShadowApex ShadowApex merged commit 53adbc5 into main Apr 4, 2024
2 checks passed
@ShadowApex ShadowApex deleted the shadowapex/deck-oled branch April 4, 2024 18:53
Copy link

github-actions bot commented Apr 4, 2024

🎉 This PR is included in version 0.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants