| # Copyright (c) 2018 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "ChromeOS Team" |
| NAME = "power_SuspendToIdle.force" |
| PURPOSE = "Verify the suspend to idle is working." |
| TIME = "SHORT" |
| TEST_CATEGORY = "Logging" |
| TEST_CLASS = "power" |
| TEST_TYPE = "client" |
| PY_VERSION = 3 |
| |
| DOC = """ |
| Test functionality of Suspend to Idle. |
| |
| Force system to use suspend to idle even if it not the default config. |
| |
| This test uses the following confidence check to verify that S0ix is working. |
| 1. DMC Firmware is loaded successfully. |
| 2. PCH IP blocks are powergating correctly. |
| 3. DMC firmware entry DC6 state in S0ix. |
| 4. S0ix residency counter is increased. |
| 5. CPU package C10 state residency counter is increased. |
| 6. GPU RC6 state residency counter is increased. |
| """ |
| |
| job.run_test('power_SuspendToIdle', force_suspend_to_idle=True, |
| tag=NAME.split('.')[1]) |