xref: /linux/drivers/gpu/drm/xe/Kconfig.profile (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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
26	int "Preempt timeout (us, jiffy granularity)"
27	default 640000 # microseconds
28	help
29	  How long to wait (in microseconds) for a preemption event to occur
30	  when submitting a new context. If the current context does not hit
31	  an arbitration point and yield to HW before the timer expires, the
32	  HW will be reset to allow the more important context to execute.
33config DRM_XE_PREEMPT_TIMEOUT_MAX
34	int "Default max preempt timeout (us)"
35	default 10000000 # microseconds
36	help
37	  Configures the default max preempt timeout after which context
38	  will be forcefully taken away and higher priority context will
39	  run.
40config DRM_XE_PREEMPT_TIMEOUT_MIN
41	int "Default min preempt timeout (us)"
42	default 1 # microseconds
43	help
44	  Configures the default min preempt timeout after which context
45	  will be forcefully taken away and higher priority context will
46	  run.
47config DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT
48	bool "Default configuration of limitation on scheduler timeout"
49	default y
50	help
51	  Configures the enablement of limitation on scheduler timeout
52	  to apply to applicable user. For elevated user, all above MIN
53	  and MAX values will apply when this configuration is enable to
54	  apply limitation. By default limitation is applied.
55