drm/i915: Allow configuring default request expiry via modparam
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 24 Mar 2021 12:13:35 +0000 (12:13 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Mar 2021 00:01:38 +0000 (01:01 +0100)
commit54d4e9f5c4d7b3ae639b985ea9fc470469cc17ff
tree60669cad292b0109067974506661aa7d429e49c5
parente8dbb566b338cc25f78278378dfcc21bfa8d62a0
drm/i915: Allow configuring default request expiry via modparam

Module parameter is added (request_timeout_ms) to allow configuring the
default request/fence expiry.

Default value is inherited from CONFIG_DRM_I915_REQUEST_TIMEOUT.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210324121335.2307063-8-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/i915_params.c
drivers/gpu/drm/i915/i915_params.h