Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1978488rwe; Fri, 2 Sep 2022 06:55:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR67Z7faM9abwTB7d655CmI/k4foWcNFkst9yAPVotbtaXe5JMj+No4Pos5OaB2rD2O8QEl6 X-Received: by 2002:a17:902:ce04:b0:172:9ff7:6747 with SMTP id k4-20020a170902ce0400b001729ff76747mr33921202plg.166.1662126905872; Fri, 02 Sep 2022 06:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662126905; cv=none; d=google.com; s=arc-20160816; b=nbTOBeB5ApMwjvp8yEriWlsWI2gcBxy5QP2B0ym0TiaMgewtSYFAkwRlUhzgnH80Cf plK2sRtmHCrPzoVknNlhqIiRqOI6pu+F7z0Ern//ZMaDam5RD8/5jbAnZ6AGIbbtUqzl v9hCOx+rQJw5N/sxd6+DMQbDZC02Ex9AaE21IIzlUxz2BY3iyLP3hfk9NxcR7FOXxAJj zQlmRNnXqiMu4fL9DGogBmBPTSVeJoJcL10hGxK9zkz3If7fFZ9M9iTM8OzI/ItNrBld FM7Boi3qnRj8ZXr+aCP1VVlfUUWAeg24KqDI38XhP5lUOUvjEk4D3NuDACfInYmP3Rwp tOVw== 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=JZCJcZFKUWbJM5neSvD+7sZViQ8akS1NjD6QNwUuwFE=; b=zfr6AABocgf3kkgLpBWCXMJP79VUbg4ikNEQ4ddudM2NNsPx2T9o+FV8Q+FpJzEJFr GQsYWTehD0vkNs79MpnrfpIpTAQiOJUEmHCVHiiSTt1L+RTBbXnCJKo1jWS3/9S47rR+ JbmIK74aCm7reWaMv9q8iEQd/ndNNqFVCYOe+om/50jIMJiCrGj3DoWqODCt4ChsdqjD yz6pYtOT/ANlaVHw2v9WvkVab4ZLrDTW0YDzGc4qHRaWzcqmiD0L0Lr8jIjEcPhPY/5f sUZHcOtN46QyN/dZqachGQmQlku/wTTfFa8zyDL9CFKSTL6vv02IUzPb58rMWvFZ+bUH EqDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Bp4VT2bf; 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 x14-20020a17090abc8e00b001fda8ffe3e0si1983677pjr.83.2022.09.02.06.54.54; Fri, 02 Sep 2022 06:55:05 -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=Bp4VT2bf; 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 S237890AbiIBMyc (ORCPT + 99 others); Fri, 2 Sep 2022 08:54:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237979AbiIBMxC (ORCPT ); Fri, 2 Sep 2022 08:53:02 -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 61D5CE42D5; Fri, 2 Sep 2022 05:37:53 -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 96A236217F; Fri, 2 Sep 2022 12:37:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CB18C433C1; Fri, 2 Sep 2022 12:37:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662122233; bh=i87cCrxbkQKgJvrfdkSNDrBEMTO9Be5lcR1DFeOK1W8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bp4VT2bfLivhDV/wQr6y78zqfL2kzqqaz+/GSXU/XOk7y4B+aTWnNyx/c2R6li6JI BxTFuRgycfgIOSiXvo10fkzTJajJ/RukYDOQcw3nVlAX4sERTZn4YHkLizdPahlnvG iKng+n/2u/GvmqZCvcAkpnYeTfRYPx0zVKtTUjgs= 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.19 53/72] drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid Date: Fri, 2 Sep 2022 14:19:29 +0200 Message-Id: <20220902121406.512297315@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220902121404.772492078@linuxfoundation.org> References: <20220902121404.772492078@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 78f3d9e722bb7..32bb6b1d95261 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 @@ -4281,6 +4281,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