]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Relax CTB response timeout
authorMatthew Brost <matthew.brost@intel.com>
Thu, 8 Jul 2021 16:20:49 +0000 (09:20 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 13 Jul 2021 20:49:58 +0000 (13:49 -0700)
commit8a5209ce498581b073f9fe3b0e9b18d16664fba8
tree1888807f8fec62e3d0e8b0da357f019674122a18
parente855a5a936418c21bd53b1b12d4175d0aa922c5b
drm/i915/guc: Relax CTB response timeout

In upcoming patch we will allow more CTB requests to be sent in
parallel to the GuC for processing, so we shouldn't assume any more
that GuC will always reply without 10ms.

Use bigger value hardcoded value of 1s instead.

v2: Add CONFIG_DRM_I915_GUC_CTB_TIMEOUT config option
v3:
 (Daniel Vetter)
  - Use hardcoded value of 1s rather than config option
v4:
 (Michal)
  - Use defines for timeout values

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210708162055.129996-2-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c