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

Integrate device/launcher modes for build scripts #7

Open
wants to merge 17 commits into
base: universe-x86-qpr1
Choose a base branch
from

Conversation

electrikjesus
Copy link
Member

This includes a number of changes to separate the build scripts, device modes, & launcher modes from Bliss Bass and into Bliss OS

electrikjesus and others added 17 commits February 12, 2024 12:38
bass: add bass changes to init.sh file
Uses cmdline boot options to set the minimum and maximum intel_pstate perf percentage.

Minimum P-state the driver is allowed to set in percent of the maximum supported performance level (the highest supported turbo P-state).

This attribute will not be exposed if the intel_pstate=per_cpu_perf_limits argument is present in the kernel command line.

INTEL_PSTATE_CPU_MIN_PERF_PCT=10
INTEL_PSTATE_CPU_MAX_PERF_PCT=80
Current value of the energy vs performance hint for the given policy (or the CPU represented by it).

Normal options: default, performance, balance_performance, balance_power, power

CPU_ENERGY_PERFORMANCE_PREF=balance_power
Allows using the INTEL_PSTATE_STATUS option to set pstate status. Passive status allows the pstate governor to scale at will.

Operation mode of the driver: “active”, “passive” or “off”.

“active” - The driver is functional and in the active mode.
“passive” - The driver is functional and in the passive mode.
“off” - The driver is not functional (it is not registered as a scaling driver with the CPUFreq core). 

INTEL_PSTATE_STATUS=passive
1. Enable activity on secondary display
2. Enable supports split screen multi-window
This allows us to set ro.iio.* propertied through the following flags:
SET_IIO_ORDER
SET_IIO_ACCEL_QUIRKS
SET_IIO_ACCEL_X_OPT_SCALE
SET_IIO_ACCEL_Y_OPT_SCALE
SET_IIO_ANGLVEL_QUIRKS
SET_IGNORE_ATKBD
This allows us to set ro.iio.* properties through the following flags:
SET_IIO_MAGN_QUIRKS
This change includes a number of additions to our sleep profiles. 
Override auto-detected power suspend type
options: (https://www.kernel.org/doc/Documentation/power/interface.txt)
'freeze' (Suspend-to-Idle)
'standby' (Power-On Suspend)
'mem' (Suspend-to-RAM)
'disk' (Suspend-to-Disk)

Auto-configure sleep.state based on supported functionality

Set intel_pstate to passive if not set

rework deep sleep detection

Detect deep sleep compatibility differently
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.

2 participants