1*b27e35aeSChris Wilsonconfig DRM_I915_USERFAULT_AUTOSUSPEND 2*b27e35aeSChris Wilson int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 3*b27e35aeSChris Wilson default 250 # milliseconds 4*b27e35aeSChris Wilson help 5*b27e35aeSChris Wilson On runtime suspend, as we suspend the device, we have to revoke 6*b27e35aeSChris Wilson userspace GGTT mmaps and force userspace to take a pagefault on 7*b27e35aeSChris Wilson their next access. The revocation and subsequent recreation of 8*b27e35aeSChris Wilson the GGTT mmap can be very slow and so we impose a small hysteris 9*b27e35aeSChris Wilson that complements the runtime-pm autosuspend and provides a lower 10*b27e35aeSChris Wilson floor on the autosuspend delay. 11*b27e35aeSChris Wilson 12*b27e35aeSChris Wilson May be 0 to disable the extra delay and solely use the device level 13*b27e35aeSChris Wilson runtime pm autosuspend delay tunable. 14*b27e35aeSChris Wilson 157ce99d24SChris Wilsonconfig DRM_I915_SPIN_REQUEST 167ce99d24SChris Wilson int 177ce99d24SChris Wilson default 5 # microseconds 187ce99d24SChris Wilson help 197ce99d24SChris Wilson Before sleeping waiting for a request (GPU operation) to complete, 207ce99d24SChris Wilson we may spend some time polling for its completion. As the IRQ may 217ce99d24SChris Wilson take a non-negligible time to setup, we do a short spin first to 227ce99d24SChris Wilson check if the request will complete in the time it would have taken 237ce99d24SChris Wilson us to enable the interrupt. 247ce99d24SChris Wilson 257ce99d24SChris Wilson May be 0 to disable the initial spin. In practice, we estimate 267ce99d24SChris Wilson the cost of enabling the interrupt (if currently disabled) to be 277ce99d24SChris Wilson a few microseconds. 28