aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/ynl.py
diff options
context:
space:
mode:
authorVinay Belgaumkar <[email protected]>2025-04-28 18:35:55 +0000
committerJani Nikula <[email protected]>2025-05-05 09:36:04 +0000
commit936b73feab5cd7eae8fe3d08a7ac9b1f8ac68042 (patch)
tree460d68c6d389282c9faff2a4ce349f9a30804c77 /tools/testing/selftests/net/lib/py/ynl.py
parentLinux 6.15-rc5 (diff)
downloadkernel-936b73feab5cd7eae8fe3d08a7ac9b1f8ac68042.tar.gz
kernel-936b73feab5cd7eae8fe3d08a7ac9b1f8ac68042.zip
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: f864a29afc32 ("drm/i915/slpc: Optmize waitboost for SLPC") Fixes: 4a82ceb04ad4 ("drm/i915/slpc: Add sysfs for SLPC power profiles") Cc: Sk Anirban <[email protected]> Reviewed-by: Sk Anirban <[email protected]> Signed-off-by: Vinay Belgaumkar <[email protected]> Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Link: https://lore.kernel.org/r/[email protected] (cherry picked from commit d26e55085f4b7a63677670db827541209257b313) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/ynl.py')
0 files changed, 0 insertions, 0 deletions