From patchwork Wed Sep 14 00:58:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Harrison X-Patchwork-Id: 12975440 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 3B126C54EE9 for ; Wed, 14 Sep 2022 00:58:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A63E10E79B; Wed, 14 Sep 2022 00:57:57 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0983C10E795; Wed, 14 Sep 2022 00:57:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663117071; x=1694653071; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9eAeu/VmhOPawwOAZiRO8qBVIUzQgUQ12rFkknN4c+M=; b=dQZHtTtXAkIUejnigTzjWSchKdwVazv0V+jwQFk4H3AOZjIUwXQMCUCj UQHyFQ7kGhWACClilmVmsNTIPFqCiFsDQok3IqP1YYGwkcwSkByTI0Ha4 Zm7Fa0FA/1XjpDnSClPC91jmbEie77QfCVErP57AbOz4j+Us18Yd6jIDM qE+LKO+4cLuslRCbsCCYyC5ylx4SzqbTBKU08lWSA6ULC6ZKxMMrkOsUn CKpDP6jOnUGx8hDrS50r57FVG99rqLHROA1Edf9L1X+n8RkIuZOujrnK8 aCavL+wL9rhQSqBbRP1CEAAvbt+JJKleSQiJu8mwEBPXJOLC9sD6OBI17 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10469"; a="384592447" X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="384592447" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2022 17:57:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="792137898" Received: from relo-linux-5.jf.intel.com ([10.165.21.154]) by orsmga005.jf.intel.com with ESMTP; 13 Sep 2022 17:57:50 -0700 From: John.C.Harrison@Intel.com To: Intel-GFX@Lists.FreeDesktop.Org Subject: [PATCH v2 0/1] Fix bug in version reduced firmware update Date: Tue, 13 Sep 2022 17:58:20 -0700 Message-Id: <20220914005821.3702446-1-John.C.Harrison@Intel.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ 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: John Harrison , DRI-Devel@Lists.FreeDesktop.Org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: John Harrison The earlier patch to support firmware files with reduced versioning introduced an issue with the firmware override module parameter. So fix that. v2: Also remove ANSI colour codes that accidentally got left in an error message in the original patch. Signed-off-by: John Harrison John Harrison (1): drm/i915/uc: Fix issues with overriding firmware files drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-)