]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/selftest: Add throttle reason diagnostics to RPS selftests
authorSk Anirban <sk.anirban@intel.com>
Tue, 23 Dec 2025 10:16:06 +0000 (15:46 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 7 Jan 2026 17:07:06 +0000 (09:07 -0800)
commit043fc9e961ef088aafc0f545c1efd8620d616c9f
tree29bed3d8b241730ffa1422bc18e440bdf18dbc2e
parent78df43b95885eb764666eac2ea8e21e2953175e1
drm/i915/selftest: Add throttle reason diagnostics to RPS selftests

Report GPU throttle reasons when RPS tests fail to reach expected
frequencies or power levels.

v2: Read the throttle value before the spinner ends (Raag)
    Add a condition before printing throttle value (Krzysztof)
v3: Extend throttle reasons debug support (Raag)
v4: Cosmetic changes (Raag)

Signed-off-by: Sk Anirban <sk.anirban@intel.com>
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Link: https://patch.msgid.link/20251223101605.3304379-2-sk.anirban@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/gt/selftest_rps.c