From patchwork Wed Nov 16 11:25:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Krzysztofik X-Patchwork-Id: 13044967 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 887C1C4332F for ; Wed, 16 Nov 2022 11:26:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 93E9D10E478; Wed, 16 Nov 2022 11:26:01 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7D7FA10E477; Wed, 16 Nov 2022 11:25:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668597956; x=1700133956; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HErREVMtikJ5Oz6ko6QuQeefE7FYijMl/vhYRjXMSfw=; b=SFMLhbjRE/392vAerZipd1/eZOSxHqMmbl9B1CLaDv3Cgd6NfE0nK1C0 vtGbYxMMmmm6fo/ZGxXdzdXG30wTBJWB3GbiKSd8v0cY8M+TSrW0UeVln 3VqqAgcHPkgeHufXn4E86W+e+T08BsDigFSjyysmEPX1cXf7/YxaG5LCM h95erxhCAiumDKsyoyS8TEKDcrrmW+nQ6tMS0XLOrH4BwGbN0BgCI3y95 TCaporqZK2/dFIzvRIqbayTTXcj4+8mUE+jVKEN7V1g1MZ91g4/PrI46r rYWsJBT9Pk84ZvkXUk3AKkzJ/3YBurAsrZ7T4Aac1/zO8yflw8BuHHL+j w==; X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="295885144" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="295885144" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2022 03:25:55 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="670468916" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="670468916" Received: from jkrzyszt-mobl1.ger.corp.intel.com ([10.213.12.208]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2022 03:25:52 -0800 From: Janusz Krzysztofik To: Tvrtko Ursulin , Joonas Lahtinen Date: Wed, 16 Nov 2022 12:25:29 +0100 Message-Id: <20221116112532.36253-1-janusz.krzysztofik@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/3] drm/i915: Fix timeout handling when retiring requests X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, Chris Wilson , dri-devel@lists.freedesktop.org, Daniel Vetter Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Fixes for issues discovered via code review while working on https://gitlab.freedesktop.org/drm/intel/issues/7349. Reworked version of a series supposed to fix the same issues, sent before under the same subject. Since some solutions are significantly different than before, I'm not marking this series and individual patches as v2. Janusz Krzysztofik (3): drm/i915: Fix negative remaining time after retire requests drm/i915: Never return 0 on timeout when retiring requests drm/i915: Never return 0 if request wait succeeds drivers/gpu/drm/i915/gt/intel_gt_requests.c | 26 ++++++++++++++++++--- drivers/gpu/drm/i915/i915_request.c | 2 ++ 2 files changed, 25 insertions(+), 3 deletions(-)