| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
config DRM_XE_JOB_TIMEOUT_MAX |
| 3 |
int "Default max job timeout (ms)" |
| 4 |
default 10000 # milliseconds |
| 5 |
help |
| 6 |
Configures the default max job timeout after which job will |
| 7 |
be forcefully taken away from scheduler. |
| 8 |
config DRM_XE_JOB_TIMEOUT_MIN |
| 9 |
int "Default min job timeout (ms)" |
| 10 |
default 1 # milliseconds |
| 11 |
help |
| 12 |
Configures the default min job timeout after which job will |
| 13 |
be forcefully taken away from scheduler. |
| 14 |
config DRM_XE_TIMESLICE_MAX |
| 15 |
int "Default max timeslice duration (us)" |
| 16 |
default 10000000 # microseconds |
| 17 |
help |
| 18 |
Configures the default max timeslice duration between multiple |
| 19 |
contexts by guc scheduling. |
| 20 |
config DRM_XE_TIMESLICE_MIN |
| 21 |
int "Default min timeslice duration (us)" |
| 22 |
default 1 # microseconds |
| 23 |
help |
| 24 |
Configures the default min timeslice duration between multiple |
| 25 |
contexts by guc scheduling. |
| 26 |
config DRM_XE_PREEMPT_TIMEOUT |
| 27 |
int "Preempt timeout (us, jiffy granularity)" |
| 28 |
default 640000 # microseconds |
| 29 |
help |
| 30 |
How long to wait (in microseconds) for a preemption event to occur |
| 31 |
when submitting a new context. If the current context does not hit |
| 32 |
an arbitration point and yield to HW before the timer expires, the |
| 33 |
HW will be reset to allow the more important context to execute. |
| 34 |
config DRM_XE_PREEMPT_TIMEOUT_MAX |
| 35 |
int "Default max preempt timeout (us)" |
| 36 |
default 10000000 # microseconds |
| 37 |
help |
| 38 |
Configures the default max preempt timeout after which context |
| 39 |
will be forcefully taken away and higher priority context will |
| 40 |
run. |
| 41 |
config DRM_XE_PREEMPT_TIMEOUT_MIN |
| 42 |
int "Default min preempt timeout (us)" |
| 43 |
default 1 # microseconds |
| 44 |
help |
| 45 |
Configures the default min preempt timeout after which context |
| 46 |
will be forcefully taken away and higher priority context will |
| 47 |
run. |
| 48 |
config DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT |
| 49 |
bool "Default configuration of limitation on scheduler timeout" |
| 50 |
default y |
| 51 |
help |
| 52 |
Configures the enablement of limitation on scheduler timeout |
| 53 |
to apply to applicable user. For elevated user, all above MIN |
| 54 |
and MAX values will apply when this configuration is enable to |
| 55 |
apply limitation. By default limitation is applied. |