From patchwork Thu Jan 12 01:54:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Harrison X-Patchwork-Id: 13097368 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 031EBC54EBC for ; Thu, 12 Jan 2023 01:55:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8EF6110E2DF; Thu, 12 Jan 2023 01:55:23 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4159110E2D6; Thu, 12 Jan 2023 01:55:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673488520; x=1705024520; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=e75Bm9XvoOJ3T0yR+p61IhIt1VJorL1u1jJFUMNRD1Y=; b=QvdhC2ashYkxT4x5a9Svqwv4KsSXc+9am3enCkxs5ZAZex0nbJapesS+ hIBje9ahXz7F9rKyHDS/w+Gk2j3aYbnjZJOKukksRRhx9So+tZKP6RpC4 BizTHQIAIxYYTvS8uBvfb6mcRoScRzWz6OtxUsnurM1hrdavPegO+HH3d fOIVqMGpuOoiV9RPr5KDfUNm4pqG1ce07SYMI2e5cvv06lcNLKD09NQ+W Z/VB0xR0zCQm0fyqdW9bJ612VueDGd8e1+zaAICx6QskBjRZT5+7/S6lU lfY0Xv+9AD4RjNvpQ4heRoPqH/Jv5tGoMGJej5nGcHshVcJV4Npa8pVHO Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="303961739" X-IronPort-AV: E=Sophos;i="5.96,318,1665471600"; d="scan'208";a="303961739" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 17:55:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="635197344" X-IronPort-AV: E=Sophos;i="5.96,318,1665471600"; d="scan'208";a="635197344" Received: from relo-linux-5.jf.intel.com ([10.165.21.152]) by orsmga006.jf.intel.com with ESMTP; 11 Jan 2023 17:55:18 -0800 From: John.C.Harrison@Intel.com To: Intel-GFX@Lists.FreeDesktop.Org Date: Wed, 11 Jan 2023 17:54:45 -0800 Message-Id: <20230112015447.2430224-1-John.C.Harrison@Intel.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Subject: [Intel-gfx] [PATCH 0/2] Clean up some GuC related failure paths 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: DRI-Devel@Lists.FreeDesktop.Org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" From: John Harrison Improve failure code handling during GuC intialisation. Signed-off-by: John Harrison John Harrison (2): drm/i915/guc: Improve clean up of busyness stats worker drm/i915/guc: Fix missing return code checks in submission init .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 113 +++++++++++++----- .../gpu/drm/i915/gt/uc/intel_guc_submission.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 7 +- 3 files changed, 89 insertions(+), 33 deletions(-)