Skip to content

Commit 630e038

Browse files
sanirban-999anshuma1
authored andcommitted
drm/i915/selftests: Add delay to stabilize frequency in live_rps_power
Add delays to allow frequency stabilization before power measurement to fix sporadic power conservation issues in live_rps_power test. v2: - Move delay to respective function (Badal) Signed-off-by: Sk Anirban <[email protected]> Reviewed-by: Badal Nilawar <[email protected]> Signed-off-by: Anshuman Gupta <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 2e0438f commit 630e038

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,7 @@ static u64 measure_power(struct intel_rps *rps, int *freq)
11251125
static u64 measure_power_at(struct intel_rps *rps, int *freq)
11261126
{
11271127
*freq = rps_set_check(rps, *freq);
1128+
msleep(100);
11281129
return measure_power(rps, freq);
11291130
}
11301131

0 commit comments

Comments
 (0)