OSDN Git Service

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)
commit16dc224f1c0ff8d242ef41c40d4da0264d351daa
treeef0077954880911667fd0b725c46111e892945dc
parentfcae496153a3ce719082746a01c81dd581e7a239
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