Message ID | de3f6a5e-8ac4-bc8e-0d0c-3a4a5db283e9@web.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1614E14DB for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 18 Jun 2019 07:12:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0338328A19 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 18 Jun 2019 07:12:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA4FD28A18; Tue, 18 Jun 2019 07:12:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8E0C728A20 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 18 Jun 2019 07:12:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 40FDC6E0E8; Tue, 18 Jun 2019 07:12:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.web.de (mout.web.de [212.227.15.3]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3F7FE891C7 for <dri-devel@lists.freedesktop.org>; Mon, 17 Jun 2019 12:34:28 +0000 (UTC) X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([2.243.164.208]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M40jS-1iT1x50Ogs-00rWe3; Mon, 17 Jun 2019 14:34:17 +0200 To: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Alex Deucher <alexander.deucher@amd.com>, =?utf-8?q?Christian_K=C3=B6nig?= <christian.koenig@amd.com>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@linux.ie>, "David (ChunMing) Zhou" <David1.Zhou@amd.com>, Evan Quan <evan.quan@amd.com>, Rex Zhu <rex.zhu@amd.com> From: Markus Elfring <Markus.Elfring@web.de> Subject: [PATCH] drm/amd/powerplay: Delete a redundant memory setting in vega20_set_default_od8_setttings() Openpgp: preference=signencrypt Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata= mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8 +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2 lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti9uZzqZSLsF+NKXFEPBS665tQr66HJvZvY GMDlntZFAZ6xQvCC1r3MGoxEC1tuEa24vPCC9RZ9wk2sY5Csbva0WwYv3WKRZZBv8eIhGMxs rcpeGShRFyZ/0BYO53wZAPV1pEhGLLxd8eLN/nEWjJE0ejakPC1H/mt5F+yQBJAzz9JzbToU 5jKLu0SugNI18MspJut8AiA1M44CIWrNHXvWsQ+nnBKHDHHYZu7MoXlO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BevfA qlwaymjPTvH+cTXScnbydfOQW8220JQwykUe+sHRZfAF5TS2YCkQvsyf7vIpSqo/ttDk4+xc Z/wsLiWTgKlih2QYULvW61XU+mWsK8+ZlYUrRMpkauN4CJ5yTpvp+Orcz5KixHQmc5tbkLWf x0n1QFc1xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Message-ID: <de3f6a5e-8ac4-bc8e-0d0c-3a4a5db283e9@web.de> Date: Mon, 17 Jun 2019 14:34:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 Content-Language: en-US X-Provags-ID: V03:K1:6q8YryJyEBQzQL6cr5Dg8HDdKYlBxXGEzN8mpWdY2YzSa+nzMoF 71tn1IqfXL+eG+IOZqRL4SmXd5pQPumVjCEB+gjFhOVzTgcDj5bCO20lHTppQHBkpAOOrmi WlY4a3qXMZCyAULoiQ6Urx5DkYZnO7zW57jr5YoPIQ8z4izIGMf2FuI9KNyRGFAJCz5mCeV g6HI7YkWddqMmWZXpq6Lg== X-UI-Out-Filterresults: notjunk:1;V03:K0:hxYF/0J9MCk=:CL0uAgH4fCekHbgjbrsIjT ded0/iCT6NuiDwVNSS6b8e8idaCXyJb339UCaKYE1pBAThzZV8ItFyEOFR3pqdJ9cW1moONFN c3G8JDsXJa4Eebwg2o1dSzmJ5zV18XlqkTwB3aF7I94hSx+x72wIwme2bxRqRttqJdEy9xUlV qYuOj2P03nz2/aFO7qu5nYTfIiaQpPe6gg8vm6YeLmCipqr6iHcQnwXst1UvnONk5GtL+qGPe ITKja1P2ZvaqPza2yA1b6yt18zLKDqesaepPrqoNsERlcrPwzSIO8pHze1gotRElH7LZWQHZL Cn3/Jub4DJQ0jjZ5GUnMsq0q2Od9AIpKLVB14sEupje50jdLtDjhge7+hdqRmswsz5xmG7hIR 7+rsKqEAPPz6ZnX7v3SE/qDqucRruZ1sSNEJv6a/3cy3yIJHOTEWQn61HbNbZOdR5HYr3Ic3s GIaHvpJgbbumlhzcaEmLpUCbhmkq7BbRQ7VGEjMHVcxQdfaRdx4incvgy/4XJgfFwjzgnDYAa zUNT/2ERoPb7H9IX+Olfc30KEz1lzMrZLxwwMdJIuvL+FR8tn6KZNDigo6RxnvoT9pEVXQPcL 1rfoXtjigx5q6DhImF2a2AXgAByrS8jbA5VOyl+mJDuVsOUAkSYTpUiELxkRbARCdmmkCd96x lKLopCpOyl2iRSB+IJw3R0gDGBvngBOL2kwqm3AYZCvNcOxfWyvjpfCTMS+783LyeYAauyZpV l76NNLPFlKYVDzH8k4MW3/40QjKSNXEvzh+sYunb3t4vgsb/jGRQZQCkPC7c/LecBwvxDzhyb KQZhO9heRk/P9jWL4dDH8nXTfKx5hQ0bY8N5d8VRZ44Qt0G8bhi8BMAirj0pq+1FiNvYWPFIB Zf/Oc7cqb5buqPrZuDiaIAKqVXc8Sa57sOVIENxSeo2t4hoz8GBCCdlmRKrn42atlRDzFZqeC ltBK+MYirivBDrf/C+DQQXb9DpRG+bo40cnO8qa7vz7dENzow8ScZ X-Mailman-Approved-At: Tue, 18 Jun 2019 07:12:01 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1560774857; bh=7of0paGiux2QgmNkMVygVoiS/Aku0RdePBQPrJ+O2kk=; h=X-UI-Sender-Class:To:From:Subject:Cc:Date; b=gJipdSKOiIL/b17IS3Gdo9yhTYWoEUamoIdZ09Abw1jxE9gcbv9kFyZHKxp1VqfIa cwY0il1r9S6CRpIKIoVjqBSvjbtKpplIPzD+wdDw6s3GOb3XatMQOa/43xSW4Y1Scu WvZ+4P4llHhDFmNBBWKRWGBNlfiSBl8IRc9K3L8o= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: kernel-janitors@vger.kernel.org, LKML <linux-kernel@vger.kernel.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm/amd/powerplay: Delete a redundant memory setting in vega20_set_default_od8_setttings()
|
expand
|
diff --git a/drivers/gpu/drm/amd/powerplay/vega20_ppt.c b/drivers/gpu/drm/amd/powerplay/vega20_ppt.c index 4aa8f5a69c4c..62497ad66a39 100644 --- a/drivers/gpu/drm/amd/powerplay/vega20_ppt.c +++ b/drivers/gpu/drm/amd/powerplay/vega20_ppt.c @@ -1295,7 +1295,6 @@ static int vega20_set_default_od8_setttings(struct smu_context *smu) if (!table_context->od8_settings) return -ENOMEM; - memset(table_context->od8_settings, 0, sizeof(struct vega20_od8_settings)); od8_settings = (struct vega20_od8_settings *)table_context->od8_settings; if (smu_feature_is_enabled(smu, FEATURE_DPM_SOCCLK_BIT)) {