Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp379868rwo; Tue, 1 Aug 2023 19:24:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlGiuWMjpRfvliBk9kp4axvkymOkxKHSyfByqEubZoMVIAX7m6dCysdqPOwKlhG7JEVlGenr X-Received: by 2002:a05:6a00:1902:b0:682:5634:3df1 with SMTP id y2-20020a056a00190200b0068256343df1mr16986657pfi.10.1690943043185; Tue, 01 Aug 2023 19:24:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690943043; cv=none; d=google.com; s=arc-20160816; b=k9dw5hu+pqeE4OAzG2lSD4k3WONlpYMKf6KTL0aQUAmc+BOAqhZ6+QUWvzIEGhCODS ZOOqEcaBig0KVs1ZuVQYLIloFEK29L0HG6c1+lGPk70NeBvsmm8EZ5jKUX26kNT9CbWb WPQiCxDXasRe82f38Vk1Zqm5pdxfPMbAgxvI7nQEb2Oza/atHtTQvKfP30xYDoXOgVae BWelhQTDo9qOtJr9/KQvhVhrLMjzxbhqjlL6eVDe+WmJLlb1fCCB9g6tiK8R8b+gOoLT n2HaV/Gz6o8SalkFYVKb6vkt7Wznbt1eYJQXjQBnxU6TvEaCEUAWLDLKRi9UY0glbHzg IyRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=0gXuY76tCUSM/a0jnV1aA87GX3gwyS66xS5p4B7s0x0=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=L035Nz40Fs4vDG0jAoECuENG7uy6HMPui2+nP3MFvDcW3JjVWaHVxc1jRLSwj0CEcZ V++6mQmeDroN52/f9LL1tEVn+EKp6DkLrTnXaHvSqq8IL0OuYf6u3XR5E6OkEL1FkFAj gN077nZmqeJNrT1ZsP2GVrSugsViRvW07fwMP7xKozUlkkLOZMy4ZzWcg4Vh6FWTB/mQ P8zp/D7C8gpatICrKZwxY8foLlQbKMNnFBHGoUF+PUXkWAedQxpAX7DU5ZKzAcfd+jbp MbdgIOmIwxjLuXzEK8igVUe/YjBQ65dDCnPjtWl5AzJYyH6P3HVuLKGoTYnk9RZlBnC9 2+9Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g123-20020a636b81000000b0056385a32757si7873356pgc.797.2023.08.01.19.23.50; Tue, 01 Aug 2023 19:24:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230399AbjHBCPS (ORCPT + 99 others); Tue, 1 Aug 2023 22:15:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjHBCPQ (ORCPT ); Tue, 1 Aug 2023 22:15:16 -0400 Received: from out28-93.mail.aliyun.com (out28-93.mail.aliyun.com [115.124.28.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E2B31B1 for ; Tue, 1 Aug 2023 19:15:15 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.4795925|-1;CH=blue;DM=|OVERLOAD|false|;DS=CONTINUE|ham_alarm|0.198135-0.00156503-0.8003;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047188;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6L.8nL_1690942507; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6L.8nL_1690942507) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 10:15:09 +0800 From: Ran Sun To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ran Sun Subject: [PATCH] drm/amd/pm: Clean up errors in r600_dpm.h Date: Wed, 2 Aug 2023 02:15:04 +0000 Message-Id: <20230802021504.9439-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY 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 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/drm/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 = 1, }; -enum r600_display_gap -{ +enum r600_display_gap { R600_PM_DISPLAY_GAP_VBLANK_OR_WM = 0, R600_PM_DISPLAY_GAP_VBLANK = 1, R600_PM_DISPLAY_GAP_WATERMARK = 2, -- 2.17.1