diff options
author | Sk Anirban <sk.anirban@intel.com> | 2025-03-28 00:49:24 +0530 |
---|---|---|
committer | Anshuman Gupta <anshuman.gupta@intel.com> | 2025-03-28 14:33:32 +0530 |
commit | c235b03145b97b8eb94af03e99740833e20c955d (patch) | |
tree | ec1e2a4aac3f3e6a139d6ddd329e0b16ef51c155 /scripts/gdb/linux/utils.py | |
parent | 0a4ae87706c6d15d14648e428c3a76351f823e48 (diff) |
drm/i915/selftests: Refactor RC6 power measurement and error handling
Revise the power measurement logic to save and evaluate energy values.
Previously, the test only checked whether the system had entered the RC6
state, without considering any potential interruptions in that state.
This update introduces a threshold check to ensure that the GPU remains
in the RC6 state properly during the specified sleep duration.
v3:
- Reorder threshold check (Badal)
v4:
- Improved commit message (Anshuman)
v5:
- Rename variables for improved readability (Anshuman)
Signed-off-by: Sk Anirban <sk.anirban@intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://lore.kernel.org/r/20250327191924.4131598-1-sk.anirban@intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions