1config DRM_I915_USERFAULT_AUTOSUSPEND 2 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 3 default 250 # milliseconds 4 help 5 On runtime suspend, as we suspend the device, we have to revoke 6 userspace GGTT mmaps and force userspace to take a pagefault on 7 their next access. The revocation and subsequent recreation of 8 the GGTT mmap can be very slow and so we impose a small hysteris 9 that complements the runtime-pm autosuspend and provides a lower 10 floor on the autosuspend delay. 11 12 May be 0 to disable the extra delay and solely use the device level 13 runtime pm autosuspend delay tunable. 14 15config DRM_I915_SPIN_REQUEST 16 int "Busywait for request completion (us)" 17 default 5 # microseconds 18 help 19 Before sleeping waiting for a request (GPU operation) to complete, 20 we may spend some time polling for its completion. As the IRQ may 21 take a non-negligible time to setup, we do a short spin first to 22 check if the request will complete in the time it would have taken 23 us to enable the interrupt. 24 25 May be 0 to disable the initial spin. In practice, we estimate 26 the cost of enabling the interrupt (if currently disabled) to be 27 a few microseconds. 28