From patchwork Tue Dec 20 02:41:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Harrison X-Patchwork-Id: 13077412 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 598D6C4332F for ; Tue, 20 Dec 2022 02:41:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7782A10E337; Tue, 20 Dec 2022 02:41:19 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 346DB10E337; Tue, 20 Dec 2022 02:41:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671504070; x=1703040070; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wH91EP8jFjF6xj+MTbXY+ce1xpQDjyik/Iv0htTI8Ck=; b=VgV4tJj+t4epFIf7eZYskkIUknCLffbTOe7iBJnDjo2kTznAT0UDdB6N GUQ3OAkPra6WnlfBmj2t5JKiAac3sq5ZNtberGJQJ9zitYUfZJ4h4LFo3 lcC1tCgimVv0F+95MVB0JzXF1Ajii365euQTsg6ifHjAP/defVSM33A2L dqYpVtgv+eKI4IEbqZgV2AYi70usoNLrN5ifhg+O2loYDjLMt73+CBXIx ww0giW2vPfcStAnR8yOTXz/c/z9kAO+xmFBXR1cmxrs9RfrbUBLJUveGA NU+98XD0qLURFWBN1jb8Hw8vXP7P5HKfxcuXlFfQtuvpwenhLNHT6spkb A==; X-IronPort-AV: E=McAfee;i="6500,9779,10566"; a="405761786" X-IronPort-AV: E=Sophos;i="5.96,258,1665471600"; d="scan'208";a="405761786" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2022 18:41:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10566"; a="825062141" X-IronPort-AV: E=Sophos;i="5.96,258,1665471600"; d="scan'208";a="825062141" Received: from relo-linux-5.jf.intel.com ([10.165.21.201]) by orsmga005.jf.intel.com with ESMTP; 19 Dec 2022 18:41:08 -0800 From: John.C.Harrison@Intel.com To: Intel-GFX@Lists.FreeDesktop.Org Date: Mon, 19 Dec 2022 18:41:44 -0800 Message-Id: <20221220024147.4118685-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/3] Fixes for various UC related issues 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 Fix a bunch of assorted issues with firmware loading and GuC intialisation. Signed-off-by: John Harrison John Harrison (3): drm/i915/guc: Fix missing return code checks in submission init drm/i915/guc: Fix a static analysis warning drm/i915/uc: Fix two issues with over-size firmware files .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 75 ++++++++++++++----- .../gpu/drm/i915/gt/uc/intel_guc_submission.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 7 +- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 42 +++++++---- 4 files changed, 91 insertions(+), 35 deletions(-)