Skip to content

Commit 599b0d8

Browse files
sanirban-999anshuma1
authored andcommitted
drm/i915/selftests: Increasing the sleep time for live_rc6_manual
Sometimes gt_pm live_rc6_manual selftest fails due to no power being measured for the rc6 disabled period. Therefore increasing the rc6 disable period from 250ms to 1000ms to rule out such sporadic failure. v3: - More descriptive and improved commit message (Anshuman) Signed-off-by: Anirban Sk <sk.anirban@intel.com> Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240212050738.1162198-1-sk.anirban@intel.com
1 parent d2435a8 commit 599b0d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/i915/gt/selftest_rc6.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ int live_rc6_manual(void *arg)
6262

6363
dt = ktime_get();
6464
rc0_power = librapl_energy_uJ();
65-
msleep(250);
65+
msleep(1000);
6666
rc0_power = librapl_energy_uJ() - rc0_power;
6767
dt = ktime_sub(ktime_get(), dt);
6868
res[1] = rc6_residency(rc6);
6969
if ((res[1] - res[0]) >> 10) {
70-
pr_err("RC6 residency increased by %lldus while disabled for 250ms!\n",
70+
pr_err("RC6 residency increased by %lldus while disabled for 1000ms!\n",
7171
(res[1] - res[0]) >> 10);
7272
err = -EINVAL;
7373
goto out_unlock;

0 commit comments

Comments
 (0)