[PATCH i-g-t v3 2/4] tests/intel/kms_pm_dc: Update test duration to 4 seconds
Naladala Ramanaidu
ramanaidu.naladala at intel.com
Fri Jul 26 10:07:49 UTC 2024
Certain features can prevent timely entry into the C10 state,
causing inconsistent results. So increase test time to get
accurate results.
v2: Split the patch into two. (Kamil)
Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala at intel.com>
---
tests/intel/kms_pm_dc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/intel/kms_pm_dc.c b/tests/intel/kms_pm_dc.c
index 3d37d4a25..09d362694 100644
--- a/tests/intel/kms_pm_dc.c
+++ b/tests/intel/kms_pm_dc.c
@@ -592,7 +592,7 @@ static unsigned int read_pkgc_counter(int debugfs_root_fd)
static void test_deep_pkgc_state(data_t *data)
{
unsigned int pre_val = 0, cur_val = 0;
- time_t start = time(NULL), duration = 2, delay;
+ time_t start = time(NULL), duration = 4, delay;
enum pipe pipe;
bool pkgc_flag = false;
bool flip = true;
--
2.43.0
More information about the igt-dev
mailing list