Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2047206rwe; Fri, 2 Sep 2022 07:48:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR7YJor+q3xKkkagdHRKppAn7t/FPQyqUtPu7x3WaJaPukrjX+fLDfsEDrKSJNfXvRCmCLtb X-Received: by 2002:a05:6402:894:b0:447:fe25:15cf with SMTP id e20-20020a056402089400b00447fe2515cfmr27461372edy.404.1662130090948; Fri, 02 Sep 2022 07:48:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662130090; cv=none; d=google.com; s=arc-20160816; b=krJ6YB4LSMnkq5d2J3VYigYnvaWuZqzwunHg17H5RUoztkNW5uHdofxdxQYPjK7rm1 Yl0my0nk6YKrFBDB4BuUgNs15g+TUr/GzaEJZQ/97jPJvX8sKopxvog0aWTFlwC2HIlO uT0BlsPjFZo7P3+x6pO8juVt9FOD4fn2QX43p3b8rlcJz7AaX0o3Yo6aLGJgw945G6Ys RW/V3VPeXHuy/UOLqAPhBFN73QDpAAD9RmiCdr6E7b/EqsITwhF/AMzixplas7rzCmer u5pczN8VnukrTiTUFTs41jtUJHBqhmI4vsJWjD2AB3Fa8IWJzMy9DQTEC5WNnrleJm0V 7O6w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FR9V3ILLOppmNGuhU9r7iJefyb6KRuK3nQjItpI1ROM=; b=C8gUBcYxk4V+TESgAvBant3IeIvfC5Zi/fXKTdiLj+xtdsK4B6GlEvqOxv2T5BP/Vo VkXp7T8sODcdZsI2VjKXlkz7PG3+5jFPwKMkdw0faeve8jqUlqU8qX99eGpSEfr/TFxY 2ERKPjyxtiqgTX/y+tEtPKJeMUM4MvQ+Id3mRZfxgJCRQBrqNF31a1IWAtd5uvDTDyDh KjXoXjgCvriOmhQxZgnf+Eer0DjCbNjOmJTn/2nFVBYRK4WykqGCIdv1jbbc+qg7+vVc oDkRdRtuP7nMFRz3/XHOMOb3XrbAfTcn+WzLdOWpPO7r+omnXWYzSBLn2Gl6zuJ9DAgf cvUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="gW3V/2b0"; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a1709064cc600b007418e87eea8si1684643ejt.770.2022.09.02.07.47.43; Fri, 02 Sep 2022 07:48:10 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b="gW3V/2b0"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236570AbiIBOgV (ORCPT + 99 others); Fri, 2 Sep 2022 10:36:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236297AbiIBOfk (ORCPT ); Fri, 2 Sep 2022 10:35:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8444167476; Fri, 2 Sep 2022 06:56:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A95596217F; Fri, 2 Sep 2022 12:39:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF2AAC433C1; Fri, 2 Sep 2022 12:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662122364; bh=fnN0EiVZn6o6LF1pXzUjmt8WAUMjyGbBmYQqntl8lKc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gW3V/2b09SnWKas4isj5lqtEzNbhWOxe8U+piQHLxpID5F5HGWmWClIohL8v2YIze PasliXceOpDdMmDSAlcWCBi9WL4ArF80jHBUxgYlKGFArYez03Mpuk+/KFQZW989Df 8DwVKQEtY003flM3Q1Rv7ARB2rwGEHjKbgyT5pvk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Evan Quan , Alex Deucher , Sasha Levin Subject: [PATCH 5.10 24/37] drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid Date: Fri, 2 Sep 2022 14:19:46 +0200 Message-Id: <20220902121359.932334412@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220902121359.177846782@linuxfoundation.org> References: <20220902121359.177846782@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Evan Quan [ Upstream commit 0a2d922a5618377cdf8fa476351362733ef55342 ] To avoid any potential memory leak. Signed-off-by: Evan Quan Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c index 8556c229ff598..49d7fa1d08427 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c @@ -2759,6 +2759,7 @@ static const struct pptable_funcs sienna_cichlid_ppt_funcs = { .dump_pptable = sienna_cichlid_dump_pptable, .init_microcode = smu_v11_0_init_microcode, .load_microcode = smu_v11_0_load_microcode, + .fini_microcode = smu_v11_0_fini_microcode, .init_smc_tables = sienna_cichlid_init_smc_tables, .fini_smc_tables = smu_v11_0_fini_smc_tables, .init_power = smu_v11_0_init_power, -- 2.35.1