Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some c-states exposed by the intel_idle driver are assigned
the same line_level, which means that the most recent one assigned can overwrite another c-state. For example, the C1-SKL c-state is overwritten by the C1E-SKL c-state because both have a "1" in the name and are assigned the same line level. To fix this, check if a "sub c-state" (ex. C1E-SKL) is being inserted. If so, check the vector of c-states if a c-state with similar name (ex. C1-SKL) exists, and increment the line level. Signed-off-by: Gautam Paranjape <gautam.paranjape@intel.com>
- Loading branch information