Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: suraj.kandpal@intel.com, jeevan.b@intel.com,
	Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Subject: [PATCH i-g-t v4 2/4] tests/intel/kms_pm_dc: Update test duration to 4 seconds
Date: Mon, 12 Aug 2024 01:33:57 +0530	[thread overview]
Message-ID: <20240811200359.1086166-3-ramanaidu.naladala@intel.com> (raw)
In-Reply-To: <20240811200359.1086166-1-ramanaidu.naladala@intel.com>

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)
v3: Declare variable in new line. (Suraj)

Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
---
 tests/intel/kms_pm_dc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/intel/kms_pm_dc.c b/tests/intel/kms_pm_dc.c
index 367bf4303..565c3d48d 100644
--- a/tests/intel/kms_pm_dc.c
+++ b/tests/intel/kms_pm_dc.c
@@ -591,7 +591,8 @@ 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);
+	time_t duration = 4, delay;
 	enum pipe pipe;
 	bool pkgc_flag = false;
 	bool flip = true;
-- 
2.43.0


  parent reply	other threads:[~2024-08-11 20:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-11 20:03 [PATCH i-g-t v4 0/4] Improvise-the-deep-pkgc Naladala Ramanaidu
2024-08-11 20:03 ` [PATCH i-g-t v4 1/4] tests/intel/kms_pm_dc: Update VRR handling and eDP output check Naladala Ramanaidu
2024-08-13  9:21   ` Kandpal, Suraj
2024-08-11 20:03 ` Naladala Ramanaidu [this message]
2024-08-13  9:23   ` [PATCH i-g-t v4 2/4] tests/intel/kms_pm_dc: Update test duration to 4 seconds Kandpal, Suraj
2024-08-22  9:31     ` Naladala, Ramanaidu
2024-08-11 20:03 ` [PATCH i-g-t v4 3/4] tests/intel/kms_pm_dc: Add polling for deep-pkgc Naladala Ramanaidu
2024-08-13  9:26   ` Kandpal, Suraj
2024-08-11 20:03 ` [PATCH i-g-t v4 4/4] HAX patch do not merge Naladala Ramanaidu
2024-08-11 20:24 ` ✗ CI.xeBAT: failure for Improvise-the-deep-pkgc (rev4) Patchwork
2024-08-11 20:40 ` ✗ Fi.CI.BAT: " Patchwork
2024-08-11 21:22 ` ✗ CI.xeFULL: " Patchwork
2024-08-12  4:03 ` [PATCH i-g-t v4 0/4] Improvise-the-deep-pkgc Kandpal, Suraj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240811200359.1086166-3-ramanaidu.naladala@intel.com \
    --to=ramanaidu.naladala@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jeevan.b@intel.com \
    --cc=suraj.kandpal@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox