Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
56 lines
2.1 KiB
Plaintext
56 lines
2.1 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_XE_JOB_TIMEOUT_MAX
|
|
int "Default max job timeout (ms)"
|
|
default 10000 # milliseconds
|
|
help
|
|
Configures the default max job timeout after which job will
|
|
be forcefully taken away from scheduler.
|
|
config DRM_XE_JOB_TIMEOUT_MIN
|
|
int "Default min job timeout (ms)"
|
|
default 1 # milliseconds
|
|
help
|
|
Configures the default min job timeout after which job will
|
|
be forcefully taken away from scheduler.
|
|
config DRM_XE_TIMESLICE_MAX
|
|
int "Default max timeslice duration (us)"
|
|
default 10000000 # microseconds
|
|
help
|
|
Configures the default max timeslice duration between multiple
|
|
contexts by guc scheduling.
|
|
config DRM_XE_TIMESLICE_MIN
|
|
int "Default min timeslice duration (us)"
|
|
default 1 # microseconds
|
|
help
|
|
Configures the default min timeslice duration between multiple
|
|
contexts by guc scheduling.
|
|
config DRM_XE_PREEMPT_TIMEOUT
|
|
int "Preempt timeout (us, jiffy granularity)"
|
|
default 640000 # microseconds
|
|
help
|
|
How long to wait (in microseconds) for a preemption event to occur
|
|
when submitting a new context. If the current context does not hit
|
|
an arbitration point and yield to HW before the timer expires, the
|
|
HW will be reset to allow the more important context to execute.
|
|
config DRM_XE_PREEMPT_TIMEOUT_MAX
|
|
int "Default max preempt timeout (us)"
|
|
default 10000000 # microseconds
|
|
help
|
|
Configures the default max preempt timeout after which context
|
|
will be forcefully taken away and higher priority context will
|
|
run.
|
|
config DRM_XE_PREEMPT_TIMEOUT_MIN
|
|
int "Default min preempt timeout (us)"
|
|
default 1 # microseconds
|
|
help
|
|
Configures the default min preempt timeout after which context
|
|
will be forcefully taken away and higher priority context will
|
|
run.
|
|
config DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT
|
|
bool "Default configuration of limitation on scheduler timeout"
|
|
default y
|
|
help
|
|
Configures the enablement of limitation on scheduler timeout
|
|
to apply to applicable user. For elevated user, all above MIN
|
|
and MAX values will apply when this configuration is enable to
|
|
apply limitation. By default limitation is applied.
|