Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1014639rwb; Wed, 9 Nov 2022 11:31:05 -0800 (PST) X-Google-Smtp-Source: AMsMyM4Blq8zqv1zFzKoMsBJYKKjiTdnFbO9had/RpCiLzV1J7Y2uaVhrzAJuC/nYSjTj1I3KRA5 X-Received: by 2002:a17:903:11c7:b0:178:afa2:43fd with SMTP id q7-20020a17090311c700b00178afa243fdmr62170186plh.126.1668022265441; Wed, 09 Nov 2022 11:31:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668022265; cv=none; d=google.com; s=arc-20160816; b=dQbJFLRkxg3LfVUKaEwJduXZB78TpH6z6bmitMileoVlRe6MCb9jKXVo8nx/hH7FQT E92jGAmHpgjRgIyvvIdjhORhDNwGCgevoewWcTruuw3db8Tl4e2qqgMY7ofFl4j8EWkP wwACISQX2zSti7KDSXjSpCA6H7mjP8ScVGn8BZ30C+RCbahztXswtOCcC3g/Nu4HNe3E C0XXYVJVb+b7VPq/7OJ7UGppZAbkv9/xO12rYN8YX/Ut2F3WcaZOQFQwQybc6sZ6TIcB nyFE1QnkmlnYbRXdmYBfoLIfBIoU9WBk/w1JKDzAuaCPjjynTkVNYkCJjTI7haTTdNQa tr9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=25kZ1CUjPSLiSNjXWCVw5TLHlV0iZ/DL+nkYUanIqyM=; b=f+GA5ZDhIi9JEOpsCVlCpWVmfUjNiA+OTeFJTjcvTA6jqz2LKZ3gFy2zBWukSXYJ17 sNfV61vEBp4n1KczaPoOxNQYaFxd+CKyb2OlZZNxnsV87nhoIil1VkOHTLqqHXd+5I9A Uxkv3geHAXstz+j83YTLL6rJ7TVZSpID6qLXWagAxWnZM9VHpoTa8z9sm42/qkTeUxxk neeIlZbarKs8fRdq+e17A1tisEkFquicsCIF7U6TA30DparBJ69PVQqvMZMHTdCbwmFK LLZSB4TX5YTM4mE+LqyxFTwS5JB4H/IknX0Eh8ecuksAaN7fdG4Ulosd2Vz0T+9xFY6j bMIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=m+MbuyW3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a170903201300b00186a4763532si14651804pla.28.2022.11.09.11.30.51; Wed, 09 Nov 2022 11:31:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=m+MbuyW3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230373AbiKITK3 (ORCPT + 92 others); Wed, 9 Nov 2022 14:10:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229691AbiKITK2 (ORCPT ); Wed, 9 Nov 2022 14:10:28 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A3241F61D for ; Wed, 9 Nov 2022 11:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668021027; x=1699557027; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=56Y9PEQQoXVoveTTRPDD6LAVS+X+5X0NWYvqIh44RYI=; b=m+MbuyW3XN5qja9smSRbSYL8PWgqgXX5ObUcWh2AbsSor3e/Qic83gmJ ptmTCKl+pMyyiXc+SSiVoPMfxWVST46xrLKyXdT5zjyPMgmYSK2szUcyB NgfieB7lziGjkkHjXnRsptblu0ms62eOaeIR67y3r9clCoEQbuCIpQ8bX 1oGofSnuK5QrocatfEbVNZinR5O8VOa/kArqZOznSsZjaJwn1vaqPqKdo riGVBoAoqN/FtzGzS5t0orUHaC65FnDnHNXHNHsC3WdLm6RKQsHzaGgNp YpYUp8zNSEA2GqEuQjr948/DBV4xedwA0w+SMFcO1vR1tETk6Nn1TfPG0 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10526"; a="311072220" X-IronPort-AV: E=Sophos;i="5.96,151,1665471600"; d="scan'208";a="311072220" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2022 11:10:23 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10526"; a="668105796" X-IronPort-AV: E=Sophos;i="5.96,151,1665471600"; d="scan'208";a="668105796" Received: from jkrzyszt-mobl1.ger.corp.intel.com ([10.213.6.201]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2022 11:10:18 -0800 From: Janusz Krzysztofik To: Joonas Lahtinen Cc: Jani Nikula , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , Chris Wilson , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] Fix timeout handling when retiring requests Date: Wed, 9 Nov 2022 20:09:34 +0100 Message-Id: <20221109190937.64155-1-janusz.krzysztofik@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes for issues discovered via code review while working on https://gitlab.freedesktop.org/drm/intel/issues/7349. Janusz Krzysztofik (3): drm/i915: Fix timeout handling when retiring requests drm/i915: Fix unintended submission flush after retire times out drm/i915: Fix 0 return value from DMA fence wait on i915 requests drivers/gpu/drm/i915/gt/intel_gt_requests.c | 19 +++++++++++++++---- drivers/gpu/drm/i915/i915_request.c | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) -- 2.25.1