aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorK Prateek Nayak <[email protected]>2024-12-23 04:34:02 +0000
committerPeter Zijlstra <[email protected]>2025-01-13 13:10:24 +0000
commitd04013a4b21bd5a4e10c42f71ed1e5e299cacdfe (patch)
tree154480b3d24b82b643a3abe9422597160688d1c1 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentx86/itmt: Use guard() for itmt_update_mutex (diff)
downloadkernel-d04013a4b21bd5a4e10c42f71ed1e5e299cacdfe.tar.gz
kernel-d04013a4b21bd5a4e10c42f71ed1e5e299cacdfe.zip
x86/itmt: Move the "sched_itmt_enabled" sysctl to debugfs
"sched_itmt_enabled" was only introduced as a debug toggle for any funky ITMT behavior. Move the sysctl controlled from "/proc/sys/kernel/sched_itmt_enabled" to debugfs at "/sys/kernel/debug/x86/sched_itmt_enabled" with a notable change that a cat on the file will return "Y" or "N" instead of "1" or "0" to indicate that feature is enabled or disabled respectively. Either "0" or "N" (or any string that kstrtobool() interprets as false) can be written to the file will disable the feature, and writing either "1" or "Y" (or any string that kstrtobool() interprets as true) will enable it back when the platform supports ITMT ranking. Since ITMT is x86 specific (and PowerPC uses SD_ASYM_PACKING too), the toggle was moved to "/sys/kernel/debug/x86/" as opposed to "/sys/kernel/debug/sched/" Suggested-by: Peter Zijlstra <[email protected]> Signed-off-by: K Prateek Nayak <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Tim Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions