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