xref: /linux/drivers/gpu/drm/xe/Kconfig.profile (revision d2776564729739f459e108b5ac83bcea57c44bca)
1config DRM_XE_JOB_TIMEOUT_MAX
2	int "Default max job timeout (ms)"
3	default 10000 # milliseconds
4	help
5	  Configures the default max job timeout after which job will
6	  be forcefully taken away from scheduler.
7config DRM_XE_JOB_TIMEOUT_MIN
8	int "Default min job timeout (ms)"
9	default 1 # milliseconds
10	help
11	  Configures the default min job timeout after which job will
12	  be forcefully taken away from scheduler.
13config DRM_XE_TIMESLICE_MAX
14	int "Default max timeslice duration (us)"
15	default 10000000 # microseconds
16	help
17	  Configures the default max timeslice duration between multiple
18	  contexts by guc scheduling.
19config DRM_XE_TIMESLICE_MIN
20	int "Default min timeslice duration (us)"
21	default 1 # microseconds
22	help
23	  Configures the default min timeslice duration between multiple
24	  contexts by guc scheduling.
25config DRM_XE_PREEMPT_TIMEOUT_MAX
26	int "Default max preempt timeout (us)"
27	default 10000000 # microseconds
28	help
29	  Configures the default max preempt timeout after which context
30	  will be forcefully taken away and higher priority context will
31	  run.
32config DRM_XE_PREEMPT_TIMEOUT_MIN
33	int "Default min preempt timeout (us)"
34	default 1 # microseconds
35	help
36	  Configures the default min preempt timeout after which context
37	  will be forcefully taken away and higher priority context will
38	  run.
39config DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT
40	bool "Default configuration of limitation on scheduler timeout"
41	default y
42	help
43	  Configures the enablement of limitation on scheduler timeout
44	  to apply to applicable user. For elevated user, all above MIN
45	  and MAX values will apply when this configuration is enable to
46	  apply limitation. By default limitation is applied.
47