]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Replace the hardcoded I915_FENCE_TIMEOUT
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 9 May 2020 10:50:21 +0000 (11:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 9 May 2020 11:57:57 +0000 (12:57 +0100)
commit86d438817613127e3aa2c51c7e4cfc4b0dface3f
treeef0077954880911667fd0b725c46111e892945dc
parentee493ff88a88c2e976280c12183a80ea7bc4324d
drm/i915: Replace the hardcoded I915_FENCE_TIMEOUT

Expose the hardcoded timeout for unsignaled foreign fences as a Kconfig
option, primarily to allow brave systems to disable the timeout and
solely rely on correct signaling.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200509105021.12542-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Kconfig.profile
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/gem/i915_gem_clflush.c
drivers/gpu/drm/i915/gem/i915_gem_client_blt.c
drivers/gpu/drm/i915/gem/i915_gem_fence.c
drivers/gpu/drm/i915/i915_config.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_request.c