drm/i915: Default to a more lenient forced preemption timeout
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 25 Nov 2019 16:27:37 +0000 (16:27 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 26 Nov 2019 09:38:44 +0000 (09:38 +0000)
commit5766a5ffc6a69595903865518c43636bde0e4ac4
tree6c080757bf1de800831a14b2872fd6a531147564
parent34f5fe1243f072d9a10065a06d4b421f01636c09
drm/i915: Default to a more lenient forced preemption timeout

Based on a sampling of a number of benchmarks across platforms, by
default opt for a much more lenient timeout so that we should not
adversely affect existing "good" clients.

640ms ought to be enough for anyone.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112169
Fixes: 3a7a92aba8fb ("drm/i915/execlists: Force preemption")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Eero Tamminen <eero.t.tamminen@intel.com>
Cc: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191125162737.2161069-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Kconfig.profile