From patchwork Wed Jun 22 14:11:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Auld X-Patchwork-Id: 12890759 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A7B2FC43334 for ; Wed, 22 Jun 2022 14:11:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5922112399; Wed, 22 Jun 2022 14:11:25 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 85D25112399; Wed, 22 Jun 2022 14:11:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655907084; x=1687443084; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gbUlw16UDUqVSxjjdEPkbkxixvGFHLKs3gJCdC/gq0s=; b=bivVSyH29eKuoeozAdYh3pLzrdKVBjWBzab9SV+Fjy9Ff19PtCB43grW 6hyqbWWJczq+ciVX5eLpzhfSRChm1n01Fa+YliQvIvH8wpZXeb6hRlLmM 6BDgnZdnR7Kr4EkBpheFS0hxcdIfBwmrSadNSdM/q0JYCnqEJwVLflQdu 8Gw9gP3QJTmcV2vzrbp9spn1eClxaaNvetrG4R3lBdEP+llkoItsL3DCb qN6M7K5yDaPeKrxiKd6eJ3IjIWmJtINsCL/WGnQRVTrIBlwyiiNBHlZqG xsGnC1AnfidbjxwgP5yvciqTgiH8pak4s7S9aMLY5GJeHqApUh6zaYbqE g==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="305878371" X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="305878371" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 07:11:23 -0700 X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="834130504" Received: from conormag-mobl.ger.corp.intel.com (HELO mwauld-desk1.intel.com) ([10.213.201.124]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 07:11:22 -0700 From: Matthew Auld To: intel-gfx@lists.freedesktop.org Subject: [PATCH] drm/i915/selftests: Increase timeout for live_parallel_switch Date: Wed, 22 Jun 2022 15:11:04 +0100 Message-Id: <20220622141104.334432-1-matthew.auld@intel.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matthew Brost , Akeem G Abodunrin , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Akeem G Abodunrin With GuC submission, it takes a little bit longer switching contexts among all available engines simultaneously, when running live_parallel_switch subtest. Increase the timeout. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5885 Signed-off-by: Akeem G Abodunrin Cc: Matthew Brost Signed-off-by: Matthew Auld Reviewed-by: Matthew Auld --- drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c index 93a67422ca3b..c6ad67b90e8a 100644 --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c +++ b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c @@ -212,7 +212,7 @@ static int __live_parallel_switch1(void *data) i915_request_add(rq); } - if (i915_request_wait(rq, 0, HZ / 5) < 0) + if (i915_request_wait(rq, 0, HZ) < 0) err = -ETIME; i915_request_put(rq); if (err)