From: Alexandre Demers <alexandre.f.demers@gmail.com>
To: amd-gfx@lists.freedesktop.org
Subject: [PATCH 6/5] drm/amdgpu: fix style in dce_v8_0.c and in vi.c
Date: Sat, 22 Mar 2025 14:37:46 -0400 [thread overview]
Message-ID: <20250322183746.86002-6-alexandre.f.demers@gmail.com> (raw)
In-Reply-To: <20250322183746.86002-1-alexandre.f.demers@gmail.com>
Bring things on a single line and fix spacing.
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
---
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 10 +++-------
drivers/gpu/drm/amd/amdgpu/vi.c | 8 ++++++++
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
index f008615343c3..533851beb27c 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
@@ -3233,8 +3233,7 @@ static const struct amd_ip_funcs dce_v8_0_ip_funcs = {
.set_powergating_state = dce_v8_0_set_powergating_state,
};
-static void
-dce_v8_0_encoder_mode_set(struct drm_encoder *encoder,
+static void dce_v8_0_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
@@ -3330,8 +3329,7 @@ static void dce_v8_0_ext_commit(struct drm_encoder *encoder)
}
-static void
-dce_v8_0_ext_mode_set(struct drm_encoder *encoder,
+static void dce_v8_0_ext_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
@@ -3343,8 +3341,7 @@ static void dce_v8_0_ext_disable(struct drm_encoder *encoder)
}
-static void
-dce_v8_0_ext_dpms(struct drm_encoder *encoder, int mode)
+static void dce_v8_0_ext_dpms(struct drm_encoder *encoder, int mode)
{
}
@@ -3407,7 +3404,6 @@ static void dce_v8_0_encoder_add(struct amdgpu_device *adev,
amdgpu_encoder->devices |= supported_device;
return;
}
-
}
/* add a new one */
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index a83505815d39..bcabcf27c3d0 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -61,19 +61,27 @@
#include "vid.h"
#include "vi.h"
+
#include "gmc_v8_0.h"
#include "gmc_v7_0.h"
+
#include "gfx_v8_0.h"
+
#include "sdma_v2_4.h"
#include "sdma_v3_0.h"
+
#include "dce_v10_0.h"
#include "dce_v11_0.h"
+
#include "iceland_ih.h"
#include "tonga_ih.h"
#include "cz_ih.h"
+
#include "uvd_v5_0.h"
#include "uvd_v6_0.h"
+
#include "vce_v3_0.h"
+
#if defined(CONFIG_DRM_AMD_ACP)
#include "amdgpu_acp.h"
#endif
--
2.49.0
next prev parent reply other threads:[~2025-03-22 18:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-22 18:37 [PATCH 0/5] Small tidy up of CIK code Alexandre Demers
2025-03-22 18:37 ` [PATCH 1/5] drm/amdgpu: use gmc_v7_0_is_idle() since it is available under GMC7 Alexandre Demers
2025-03-24 18:23 ` Alex Deucher
2025-03-22 18:37 ` [PATCH 2/5] drm/amdgpu: use cik_sdma_is_idle() in CIK SDMA Alexandre Demers
2025-03-22 18:37 ` [PATCH 3/5] drm/amdgpu: small cleanup to " Alexandre Demers
2025-03-22 18:37 ` [PATCH 4/5] drm/amdgpu: move X_GB_ADDR_CONFIG_GOLDEN in GFX7 Alexandre Demers
2025-03-22 18:37 ` Alexandre Demers [this message]
2025-03-22 18:46 ` [PATCH 6/5] drm/amdgpu: fix style in dce_v8_0.c and in vi.c Alexandre Demers
2025-03-24 18:20 ` Alex Deucher
2025-03-27 4:16 ` Alexandre Demers
2025-03-27 15:21 ` Alex Deucher
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=20250322183746.86002-6-alexandre.f.demers@gmail.com \
--to=alexandre.f.demers@gmail.com \
--cc=amd-gfx@lists.freedesktop.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