]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/selftest: Change throttle criteria for rps
authorRaag Jadav <raag.jadav@intel.com>
Thu, 2 Jan 2025 11:06:18 +0000 (16:36 +0530)
committerAndi Shyti <andi.shyti@kernel.org>
Sat, 11 Jan 2025 12:44:40 +0000 (13:44 +0100)
commit9ef80eec5fab5dd840687f55a79c109777b2adf2
tree24c1473209ec2f4c2441e24c620419fe01f1c242
parent6f0572fa8fd6758f7a0ed2e96b429cb5b4323e12
drm/i915/selftest: Change throttle criteria for rps

Current live_rps_control() implementation errors out on throttling.
This was done with the assumption that throttling to minimum frequency
is a catastrophic failure, which is incorrect. Throttling can happen
due to variety of reasons and often times out of our control. Also,
the resulting frequency can be at any given point below the maximum
allowed. Change throttle criteria to reflect this logic and drop the
error, as it doesn't necessarily mean selftest failure.

Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250102110618.174415-1-raag.jadav@intel.com
drivers/gpu/drm/i915/gt/selftest_rps.c