From patchwork Fri Jan 21 20:36:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Brost X-Patchwork-Id: 12720221 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 9E2C3C4332F for ; Fri, 21 Jan 2022 20:43:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 62D2510E654; Fri, 21 Jan 2022 20:42:52 +0000 (UTC) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 201BF10E620; Fri, 21 Jan 2022 20:42:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642797767; x=1674333767; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8L9mcEI7B+vPTe3tv4cFVl5ElCGuxZIDXQh39t4YN7g=; b=FUVLFaupYDp5vseOECO4xM1aOIeFatKT0jYad+4yAkRbNzqYtqSFdz6N oEkSMN+Dwsh2uEZIuMUAT9+v4PdV/W9bIySKQqEJipVLOaTqjLQiiDSfm 0iiklAsMEtIRHXTGE5y7SjL7J5iCCVIJE1MXxAPFTp7e5+4zDjkd/1J++ +BdjAUAGSGPPVCreJ+x7TKqIud9aa31yTKYQjxPnoT3jijxhCRKpT3BIa IS2KaKWZTL7LYYqciP/NKMHvgfgqgxcwsGNCzI6OHPN+UQ3fpyK0UiCzf KhF7jW68OWo4WLY71esm1aILWjQmAI6fvoF7b+8fqyvBCkVgdx/bntLE7 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10234"; a="309065945" X-IronPort-AV: E=Sophos;i="5.88,306,1635231600"; d="scan'208";a="309065945" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2022 12:42:46 -0800 X-IronPort-AV: E=Sophos;i="5.88,306,1635231600"; d="scan'208";a="626855409" Received: from jons-linux-dev-box.fm.intel.com ([10.1.27.20]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2022 12:42:46 -0800 From: Matthew Brost To: , Subject: [PATCH 0/2] Fix up request cancel Date: Fri, 21 Jan 2022 12:36:56 -0800 Message-Id: <20220121203658.28042-1-matthew.brost@intel.com> X-Mailer: git-send-email 2.34.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: daniele.ceraolospurio@intel.com, john.c.harrison@intel.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix request cancellation + add request cancel low level trace point. Signed-off-by: Matthew Brost Matthew Brost (2): drm/i915: Add request cancel low level trace point drm/i915/guc: Cancel requests immediately drivers/gpu/drm/i915/gt/intel_context.h | 1 + drivers/gpu/drm/i915/gt/intel_context_types.h | 5 ++ .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 46 +++++++++++-------- drivers/gpu/drm/i915/i915_trace.h | 10 ++++ 4 files changed, 42 insertions(+), 20 deletions(-)