Skip to content

feat: add ONEXPLAYER 3 TDP support - #40

Open
Grippy98 wants to merge 1 commit into
ShadowBlip:mainfrom
Grippy98:codex/onexplayer-3-tdp
Open

feat: add ONEXPLAYER 3 TDP support#40
Grippy98 wants to merge 1 commit into
ShadowBlip:mainfrom
Grippy98:codex/onexplayer-3-tdp

Conversation

@Grippy98

Copy link
Copy Markdown

Summary

  • Add an ONEXPLAYER 3 DMI override with an 8–35 W TDP range
  • Prefer the intel-rapl-mmio powercap interface when available
  • Fall back to the existing intel-rapl interface
  • Accept package domains exposed with either RAPL naming scheme
  • Log the selected Intel RAPL package domain

Rationale

The ONEXPLAYER 3 exposes both MMIO and MSR-backed Intel RAPL domains, but they do not provide equivalent writable limits. Using the MMIO package domain matches Intel thermald's preference and allows PowerStation to control the effective platform power limits.

Testing

  • Release build completed successfully
  • Live-tested on an ONEXPLAYER 3 running Bazzite 44
  • Confirmed 17 W and 35 W settings through the PowerStation D-Bus API
  • Confirmed the corresponding MMIO PL1/PL2 limits changed correctly
  • Confirmed the original services and power limits were restored after testing

AI assistance disclosure

This change was developed with assistance from OpenAI Codex. The resulting code was reviewed, built, tested, and validated on physical ONEXPLAYER 3 hardware by me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant