mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "XueBing Chen" <chenxuebing@jari.cn>
To: alexander.deucher@amd.com, airlied@gmail.com, daniel@ffwll.ch
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] drm/amdgpu: Clean up errors in clearstate_ci.h
Date: Wed, 23 Aug 2023 17:47:09 +0800 (GMT+08:00)	[thread overview]
Message-ID: <489e5ccd.62a.18a21ca6f2a.Coremail.chenxuebing@jari.cn> (raw)

Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line

Signed-off-by: XueBing Chen <chenxuebing@jari.cn>
---
 drivers/gpu/drm/amd/amdgpu/clearstate_ci.h | 24 ++++++++--------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/clearstate_ci.h b/drivers/gpu/drm/amd/amdgpu/clearstate_ci.h
index c3982f9475fb..e6a46aa38cf4 100644
--- a/drivers/gpu/drm/amd/amdgpu/clearstate_ci.h
+++ b/drivers/gpu/drm/amd/amdgpu/clearstate_ci.h
@@ -21,8 +21,7 @@
  *
  */
 
-static const unsigned int ci_SECT_CONTEXT_def_1[] =
-{
+static const unsigned int ci_SECT_CONTEXT_def_1[] = {
     0x00000000, // DB_RENDER_CONTROL
     0x00000000, // DB_COUNT_CONTROL
     0x00000000, // DB_DEPTH_VIEW
@@ -236,8 +235,7 @@ static const unsigned int ci_SECT_CONTEXT_def_1[] =
     0x00000000, // PA_SC_VPORT_ZMIN_15
     0x3f800000, // PA_SC_VPORT_ZMAX_15
 };
-static const unsigned int ci_SECT_CONTEXT_def_2[] =
-{
+static const unsigned int ci_SECT_CONTEXT_def_2[] = {
     0x00000000, // PA_SC_SCREEN_EXTENT_CONTROL
     0, // HOLE
     0x00000000, // CP_PERFMON_CNTX_CNTL
@@ -513,8 +511,7 @@ static const unsigned int ci_SECT_CONTEXT_def_2[] =
     0x00000000, // CB_BLEND6_CONTROL
     0x00000000, // CB_BLEND7_CONTROL
 };
-static const unsigned int ci_SECT_CONTEXT_def_3[] =
-{
+static const unsigned int ci_SECT_CONTEXT_def_3[] = {
     0x00000000, // PA_CL_POINT_X_RAD
     0x00000000, // PA_CL_POINT_Y_RAD
     0x00000000, // PA_CL_POINT_SIZE
@@ -522,8 +519,7 @@ static const unsigned int ci_SECT_CONTEXT_def_3[] =
     0x00000000, // VGT_DMA_BASE_HI
     0x00000000, // VGT_DMA_BASE
 };
-static const unsigned int ci_SECT_CONTEXT_def_4[] =
-{
+static const unsigned int ci_SECT_CONTEXT_def_4[] = {
     0x00000000, // DB_DEPTH_CONTROL
     0x00000000, // DB_EQAA
     0x00000000, // CB_COLOR_CONTROL
@@ -682,17 +678,14 @@ static const unsigned int ci_SECT_CONTEXT_def_4[] =
     0x00000000, // VGT_GS_OUT_PRIM_TYPE
     0x00000000, // IA_ENHANCE
 };
-static const unsigned int ci_SECT_CONTEXT_def_5[] =
-{
+static const unsigned int ci_SECT_CONTEXT_def_5[] = {
     0x00000000, // WD_ENHANCE
     0x00000000, // VGT_PRIMITIVEID_EN
 };
-static const unsigned int ci_SECT_CONTEXT_def_6[] =
-{
+static const unsigned int ci_SECT_CONTEXT_def_6[] = {
     0x00000000, // VGT_PRIMITIVEID_RESET
 };
-static const unsigned int ci_SECT_CONTEXT_def_7[] =
-{
+static const unsigned int ci_SECT_CONTEXT_def_7[] = {
     0x00000000, // VGT_MULTI_PRIM_IB_RESET_EN
     0, // HOLE
     0, // HOLE
@@ -927,8 +920,7 @@ static const unsigned int ci_SECT_CONTEXT_def_7[] =
     0x00000000, // CB_COLOR7_CLEAR_WORD0
     0x00000000, // CB_COLOR7_CLEAR_WORD1
 };
-static const struct cs_extent_def ci_SECT_CONTEXT_defs[] =
-{
+static const struct cs_extent_def ci_SECT_CONTEXT_defs[] = {
     {ci_SECT_CONTEXT_def_1, 0x0000a000, 212 },
     {ci_SECT_CONTEXT_def_2, 0x0000a0d6, 274 },
     {ci_SECT_CONTEXT_def_3, 0x0000a1f5, 6 },
-- 
2.17.1

                 reply	other threads:[~2023-08-23  9:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=489e5ccd.62a.18a21ca6f2a.Coremail.chenxuebing@jari.cn \
    --to=chenxuebing@jari.cn \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®