Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3290171rwb; Mon, 7 Aug 2023 11:01:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFY9lWNnokZj/ToNC7ybMB9Xwv/TRxUorAMcnzN2t3+B86GvGZwgSL1pcsW2qbDZ0b3vryL X-Received: by 2002:a05:6a20:72ac:b0:12c:2dc7:74bc with SMTP id o44-20020a056a2072ac00b0012c2dc774bcmr14073436pzk.46.1691431275141; Mon, 07 Aug 2023 11:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691431275; cv=none; d=google.com; s=arc-20160816; b=aSVzjdfHuSftmMLZjWez1+pqB7h4Qo9DTw7eKs/1HgyIdarE4PsvETjxtej7dOOxXJ 6KT13wQp//AlSEVpLa8x97pfCyHDAwL/Z1wAV2a7W7vwqDC2u9lFQFyvs5DZpqDIqyje L+gPE2hKSBUN+fqtaRSU74Or+h/fM/VDKLV7IIoj7YmkLRSv5Ef0s7bVBaLJBYKMtlA7 NS+uJ7PABe4nR9zKMyb6yYkpAfXo0u+fCqA65TauZyBPtt9p2LVWnPqsUjuZo0zgS71A xF2a0eh06b+3Gq6DTOVSyE0iQW+sRQqD6euIKdbYxUtZWzBmV4GlmxoFWL6XsKqYooUJ I4Hg== 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=zXFBy7712uE3kfDTRNRBt1+/C4b4AQWJWe2+dMjh1ks=; fh=YwR8hmjC2QSif+72cT3/sIS32/1FMEJSAUJ+j+OuTzU=; b=sU3UxKlp0gtWOZRCksZV+X6DFYQDzGjiN9a01a/6UMPGC8i1wmVD2Z7T1LnG3wB+fy Y/Nb1PSW0Rw23n6CI2I5ITgrxgKtsZZjk8AcNdD/2pkmbpwarA00N9bdjOCCt0xTJfJy owZjJzkJHgNIoXoZZVmqG8EbZnA+Xs2Nn7dCM330XHYw7b26+WufA4Zb6EfVA1bd811m 948Cawj0l5XTi9kK7RtqIBP21ViXVtUtCzSrD6ETS47Id0QWF3GTP7HcUdAE555igsT1 XvSTnG+cyOzaMaQDJYfnaRc1IhUy4KCuFY5lObKIv6oAWaiFE12s2cWA1LTnzhaN2Fae /LfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=K0XjOCrn; 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 p4-20020a056a000a0400b0068730ff62dasi6189080pfh.60.2023.08.07.11.01.01; Mon, 07 Aug 2023 11:01:15 -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=K0XjOCrn; 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 S230368AbjHGREC (ORCPT + 99 others); Mon, 7 Aug 2023 13:04:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229924AbjHGREB (ORCPT ); Mon, 7 Aug 2023 13:04:01 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBCDD10D4 for ; Mon, 7 Aug 2023 10:04:00 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1bfc2b68090so1690823fac.3 for ; Mon, 07 Aug 2023 10:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691427840; x=1692032640; 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=zXFBy7712uE3kfDTRNRBt1+/C4b4AQWJWe2+dMjh1ks=; b=K0XjOCrnf/nJH0pqMzpC+/VboRlwZCR952ZMtzBtMMnxLv66byrTwmDwfZ+ooDh8ZW QreEURBnxzIrySgkkgkwN261N4My88y1GrRhH8nt1YdEN83Iqj0SufCII9zIhiDpE64s d8sLSmIJpulOdgXOev86k/z2JKfiYwcU5Nadf5D6uQLrE6yITUhdqmX5KfOkaHRC/8Gt DR0r+KHNTXfibhP4SGPmOZTbE22OmCBYq51hUFCD2ffhu8eVVyr3+uRjYI90nlA3qxXK wzu5/ZyD28a9O6sfAOh/sB/Nibz6Smh2nCa/HbVR6Wjh597j9XxC1cDSUQxqlvP3zpvB PEBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691427840; x=1692032640; 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=zXFBy7712uE3kfDTRNRBt1+/C4b4AQWJWe2+dMjh1ks=; b=W4vWMMW8HTJqId3iAL9DE8WXLZ6N+UxeoXSB9gS7F+s1bZQNvd2z56JG/nnq0AfE5E 8Sj9Cc3e6X/UgwUIWWwcX45ULwmJzaXjPAyPpllxFbM1VuAJ23LpuYEPjZbe4W+I0PGM 5yNRc8LdFIe47qs3DxjBTqJQVCfWlwTJ1uSSEbUWBblDCjh3h9taOn9Lb8AVCKXWq4jK Fi7anQgWudBkNMhuuMSc15EL4WQruP3RT4Y1e2pF3YrEFnsz/6tSURikrfahE/dpqLcu feJWph8FMyIgzHUw7kqLVuK4lF8PIyNeV8G+Y+/ThLOMM1A3JpcCO4EZ5lzFbcaDlC+t PdZA== X-Gm-Message-State: AOJu0Yzz0cfnbciFNCGaW8fibd2WHTFjDcRjSJhdOLAGTYlv7lzztm6K PjX/IXI3sdrieGAhriMJ0B12PSN1EjmDTmyQa5rHltt0 X-Received: by 2002:a05:6870:702b:b0:1b4:60b3:98bc with SMTP id u43-20020a056870702b00b001b460b398bcmr12150216oae.2.1691427840112; Mon, 07 Aug 2023 10:04:00 -0700 (PDT) MIME-Version: 1.0 References: <20230802021504.9439-1-sunran001@208suo.com> In-Reply-To: <20230802021504.9439-1-sunran001@208suo.com> From: Alex Deucher Date: Mon, 7 Aug 2023 13:03:49 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/pm: Clean up errors in r600_dpm.h To: Ran Sun Cc: alexander.deucher@amd.com, dri-devel@lists.freedesktop.org, amd-gfx@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 10:15=E2=80=AFPM Ran Sun wrot= e: > > Fix the following errors reported by checkpatch: > > ERROR: that open brace { should be on the previous line > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h b/drivers/gpu/d= rm/amd/pm/legacy-dpm/r600_dpm.h > index 055321f61ca7..3e7caa715533 100644 > --- a/drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h > +++ b/drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h > @@ -117,8 +117,7 @@ enum r600_display_watermark { > R600_DISPLAY_WATERMARK_HIGH =3D 1, > }; > > -enum r600_display_gap > -{ > +enum r600_display_gap { > R600_PM_DISPLAY_GAP_VBLANK_OR_WM =3D 0, > R600_PM_DISPLAY_GAP_VBLANK =3D 1, > R600_PM_DISPLAY_GAP_WATERMARK =3D 2, > -- > 2.17.1 >