Files
linux/drivers/gpu/drm/i915/gt
Vinay Belgaumkar 936b73feab drm/i915/slpc: Balance the inc/dec for num_waiters
As seen in some recent failures, SLPC num_waiters value is < 0.
This happens because the inc/dec are not balanced. We should skip
decrement for the same conditions as the increment. Currently, we
do that for power saving profile mode. This patch also ensures that
num_waiters is incremented in the case min_softlimit is at boost
freq. It ensures that we don't reduce the frequency while this request
is in flight.

v2: Add Fixes tags

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13598
Fixes: f864a29afc ("drm/i915/slpc: Optmize waitboost for SLPC")
Fixes: 4a82ceb04a ("drm/i915/slpc: Add sysfs for SLPC power profiles")
Cc: Sk Anirban <sk.anirban@intel.com>
Reviewed-by: Sk Anirban <sk.anirban@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://lore.kernel.org/r/20250428183555.3250021-1-vinay.belgaumkar@intel.com
(cherry picked from commit d26e55085f)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2025-05-05 12:36:04 +03:00
..
2024-10-15 17:49:24 +03:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2024-03-22 14:14:52 -07:00
2021-03-24 19:30:34 +01:00
2024-03-22 14:14:52 -07:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00