Skip to content

Commit

Permalink
drm/i915: More gt idling time with guc submission
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ramalingam C committed Feb 11, 2022
1 parent 165bbfb commit 2528b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/selftests/igt_flush_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ int igt_flush_test(struct drm_i915_private *i915)

cond_resched();

if (intel_gt_wait_for_idle(gt, HZ) == -ETIME) {
if (intel_gt_wait_for_idle(gt, HZ * 3) == -ETIME) {
pr_err("%pS timed out, cancelling all further testing.\n",
__builtin_return_address(0));

Expand Down

0 comments on commit 2528b39

Please sign in to comment.