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)
commit1ccf7294b76d28d5151f024351c747ccf101d66e
tree1888807f8fec62e3d0e8b0da357f019674122a18
parent611ac726f9ebbb12f2113e5345ef109660954eeb
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