Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3220505rwb; Mon, 7 Aug 2023 09:57:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2AuoOybdM9IMrGazHw8nSbvvSmKInPUskIGe/43rl3qZw4aGlqFVscOx8R4F2f6enHF/U X-Received: by 2002:a17:903:182:b0:1b8:b382:f6c3 with SMTP id z2-20020a170903018200b001b8b382f6c3mr10118782plg.13.1691427436023; Mon, 07 Aug 2023 09:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691427436; cv=none; d=google.com; s=arc-20160816; b=iNFstkAyuUtlaXugqMFWmIwfYiDR2lfO5oHsUy3nFqzdP4dvtWOLxRahUwfZiMVtM7 ihKuuDUHabnMH0X+GR66319SybGx4J00UzhQdnrniHrUn5ilYrKOLDZOxepcz9FWJpQg OVbwrXmyyQOoNoXCH7SdNjyMkJqMWe33P8zH438KY9UCUcxSsfPm6vOaK9JMlX6WZFoI wOz8w3b2K3uBNbsu8kUMEuAi7HqmjIoa24LetfBtQclTU9dZJ8dK60QktXx+sd3EkG+p BDdeL8mTalqr3JCLi6vUdtz9KdR6a0jDKkaZSLQcV5S3WQInE1s4A4clGsENQvIdeEQ/ 3WXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=RFf6/4I+/bBlEwSARy/+YTAUPS77qELMgK5GKsW+qM4=; fh=RfbGecvDNRsowkiOD02qrJ8ma8CF4K4j7JK0uzSbnZI=; b=FIqPWThYZQe0NY4Ppg0WxREc4hDZCp5UH7DgfmEJb3OGmXsbwIYBpfAmk/2PxqIFYW nPSH2ILlntT+z1cVPEHjggMVA2Yz/3S5WeVZ9kx7NzIozvx3OnAry+QNFEO0lO59nADx keFCgCD+g3/UKN3LCf+QyRSfGKbojzuoWT0ZziBKwROtJLXqQLuC/a6tJmrZsyco51iQ /dkntFIw4KKBF4XUZL/xovBqjUlPkmj/R0EPApZXGLgsck0VW3MqOVaRAAy/y3dMjKTn y1neCor5IpebbwQfIMu1/ikyl4x/JeHW1/8dYRi8YhxXGboIJSsedXg6I3ygarRdzxTi vI6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="nsEM/gIq"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k17-20020a170902c41100b001b82a4d3ea7si6196617plk.249.2023.08.07.09.57.02; Mon, 07 Aug 2023 09:57:16 -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=@gmail.com header.s=20221208 header.b="nsEM/gIq"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231386AbjHGQl6 (ORCPT + 99 others); Mon, 7 Aug 2023 12:41:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbjHGQl5 (ORCPT ); Mon, 7 Aug 2023 12:41:57 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6020C9E for ; Mon, 7 Aug 2023 09:41:56 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6bcbb0c40b1so3593499a34.3 for ; Mon, 07 Aug 2023 09:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691426515; x=1692031315; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RFf6/4I+/bBlEwSARy/+YTAUPS77qELMgK5GKsW+qM4=; b=nsEM/gIqPu5vX7INGjfXu83Wdfe4yvOJ+qvtzPAOIVfgIbdaPIthYW40rZhr9bZ+tL Eo7bXoqd6B/PqjKsLy4Mbhc5orWSI6AnaHEAdoE4ryc1ShWRt10X59JOwQ2YmGJDqtlv z6qyGPpwKK+fouHxSlx84AKUOADb2DiHRbkDpI2ETMjhUNxccj43KEOzazCMxRfKjzSH MsgqRg+hAxfE/8T/7rvL2GA8lM8J25omat+mXFcs4onYX1j/pw1xVdUKKAhkO1RgbZqy APVcDiJt/ScxMJczGlik/yJXbekbZXJvKUOHPYiRi1Q0DeMvIiRVTvIY6qOD6C0nrg5n gpWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691426515; x=1692031315; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RFf6/4I+/bBlEwSARy/+YTAUPS77qELMgK5GKsW+qM4=; b=hlew30pepXcMeH8bHsH1+GR1VAWW0lPoPoZXr1A1lh4gxmUz606kLqUohkAJmvDJP/ caoOM3psRtqc7zs5arMLPrqbB0jtTKU6Rl2w36R3lPkjdeZXhu2uDU5aCJksXg6U8dpd 6691ZcGxyn7qV6OIYPOhaORTzZra6YxW1UjzeKaV6nHjamX5PruHiUN64EsnLrAH/TcC wgrFRgzl9aH2f7wr2bs02F4mvVLMTz1WAp7TK7+OmslhHHqTQHOgfWBXur6aN2gC+zLS bGHXnTHHiXdbufFOd6HOe86QiVufad7SACnlIlmk7WjMg5RiIO/NpyUeLO2Zv3P/hbe9 a7zg== X-Gm-Message-State: AOJu0YywSZfFduKnOPo5Mge+3qKSOXnrM3nkt0AFi3D6L6oydhpUmpNf ugyePNeqf51yvhTAGUVroHNT2th3th6F+KkIq6E= X-Received: by 2002:a05:6870:c18d:b0:1be:d49b:a3c5 with SMTP id h13-20020a056870c18d00b001bed49ba3c5mr11828163oad.29.1691426513821; Mon, 07 Aug 2023 09:41:53 -0700 (PDT) MIME-Version: 1.0 References: <20230801023915.4756-1-sunran001@208suo.com> In-Reply-To: From: Alex Deucher Date: Mon, 7 Aug 2023 12:41:43 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/pm: Clean up errors in vega20_hwmgr.h To: "Quan, Evan" Cc: Ran Sun , "Deucher, Alexander" , "airlied@gmail.com" , "daniel@ffwll.ch" , "amd-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 Applied. Thanks! On Tue, Aug 1, 2023 at 5:25=E2=80=AFAM Quan, Evan wrote= : > > [AMD Official Use Only - General] > > Reviewed-by: Evan Quan > > > -----Original Message----- > > From: amd-gfx On Behalf Of Ran > > Sun > > Sent: Tuesday, August 1, 2023 10:39 AM > > To: Deucher, Alexander ; airlied@gmail.com; > > daniel@ffwll.ch > > Cc: Ran Sun ; dri-devel@lists.freedesktop.org; > > amd-gfx@lists.freedesktop.org; linux-kernel@vger.kernel.org > > Subject: [PATCH] drm/amd/pm: Clean up errors in vega20_hwmgr.h > > > > Fix the following errors reported by checkpatch: > > > > ERROR: open brace '{' following enum go on the same line > > > > Signed-off-by: Ran Sun > > --- > > drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h | 6 ++---- > > 1 file changed, 2 insertions(+), 4 deletions(-) > > > > diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h > > b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h > > index 075c0094da9c..1ba9b5fe2a5d 100644 > > --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h > > +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h > > @@ -385,8 +385,7 @@ struct vega20_odn_data { > > struct vega20_odn_temp_table odn_temp_table; > > }; > > > > -enum OD8_FEATURE_ID > > -{ > > +enum OD8_FEATURE_ID { > > OD8_GFXCLK_LIMITS =3D 1 << 0, > > OD8_GFXCLK_CURVE =3D 1 << 1, > > OD8_UCLK_MAX =3D 1 << 2, > > @@ -399,8 +398,7 @@ enum OD8_FEATURE_ID > > OD8_FAN_ZERO_RPM_CONTROL =3D 1 << 9 > > }; > > > > -enum OD8_SETTING_ID > > -{ > > +enum OD8_SETTING_ID { > > OD8_SETTING_GFXCLK_FMIN =3D 0, > > OD8_SETTING_GFXCLK_FMAX, > > OD8_SETTING_GFXCLK_FREQ1, > > -- > > 2.17.1 >