mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2026-01-27 12:47:24 +01:00
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 <sk.anirban@intel.com> Reviewed-by: Badal Nilawar <badal.nilawar@intel.com> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241203061114.2790448-1-sk.anirban@intel.com
This commit is contained in:
parent
2e0438f9c3
commit
630e03808a
|
|
@ -1125,6 +1125,7 @@ static u64 measure_power(struct intel_rps *rps, int *freq)
|
|||
static u64 measure_power_at(struct intel_rps *rps, int *freq)
|
||||
{
|
||||
*freq = rps_set_check(rps, *freq);
|
||||
msleep(100);
|
||||
return measure_power(rps, freq);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user