]> git.hungrycats.org Git - linux/commit
drm/xe: improve Kconfig.profile help text for scheduler timeouts
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 5 Jun 2026 14:09:52 +0000 (10:09 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 9 Jun 2026 00:57:04 +0000 (20:57 -0400)
commit5e34374d65315b06c044df6a6d87b7aae0499b21
tree48c0db88cd7c86a3f9fc78200357108356582266
parenta57011eff45e7265dc42a7adad68b84605d8f828
drm/xe: improve Kconfig.profile help text for scheduler timeouts

The existing help texts for the JOB_TIMEOUT, TIMESLICE and PREEMPT_TIMEOUT
configs were brief and did not make the role of each symbol clear:

 - _MIN / _MAX: hard bounds on the per-engine-class timeout. They are
                enforced unconditionally by the sysfs knobs, and (for
                TIMESLICE, the only one exposed via the SET_PROPERTY UAPI)
                they also bound CAP_SYS_NICE requests when
                DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT is enabled.
 - PREEMPT_TIMEOUT: the boot-time default; the JOB_TIMEOUT and TIMESLICE
                    defaults are hardcoded in the driver, not configured
                    here.

Rewrite the help texts to reflect this, naming the relevant sysfs knobs
and UAPI property explicitly.

v2: Adjusted commit message based on Sashiko's review.

Assisted-by: GitHub-Copilot:claude-sonnet-4.6
Assisted-by: GitHub-Copilot:claude-opus-4.8 #v2
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patch.msgid.link/20260605140951.958172-2-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/Kconfig.profile