OSDN Git Service

drm/i915: More gt idling time with guc submission
authorRamalingam C <ramalingam.c@intel.com>
Fri, 28 Jan 2022 18:52:07 +0000 (00:22 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Fri, 11 Feb 2022 11:41:35 +0000 (17:11 +0530)
commit2528b396d5304a711d28f08047a8fe60daebc3ae
tree0d325323c3434764bd54310be461764931d6c276
parent165bbfba34cb4c8f31d1e643abd2d5cb6eba1b90
drm/i915: More gt idling time with guc submission

On i915_selftest@live@gt_timelines, we create many contexts in loop and
create and submit request and then destoy contexts. Destroying the context
needs to disable scheduling, wait for G2H, deregister context and wait
for G2H to destroy each context. Idling of the gt has to wait for all
this to complete which is taking ~3sec for this test.

Hence we are increasing the igt_flush_test's timeout for gt idling to
3Sec.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220128185209.18077-4-ramalingam.c@intel.com
drivers/gpu/drm/i915/selftests/igt_flush_test.c