* [PATCH v2] drm/amd/display: re-indent dc_power_down_on_boot()
@ 2024-04-25 11:21 Dan Carpenter
2024-04-30 18:43 ` Harry Wentland
0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2024-04-25 11:21 UTC (permalink / raw)
To: Harry Wentland
Cc: Leo Li, Rodrigo Siqueira, Alex Deucher, Christian König,
Pan, Xinhui, David Airlie, Daniel Vetter, Alvin Lee, Wenjing Liu,
Jun Lei, Tom Chung, Aurabindo Pillai, Dillon Varone, amd-gfx,
dri-devel, linux-kernel, kernel-janitors
These lines are indented too far. Clean the whitespace.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
v2: Delete another blank line (checkpatch.pl --strict).
drivers/gpu/drm/amd/display/dc/core/dc.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 3e16041bf4f9..5a0835f884a8 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -5192,11 +5192,9 @@ void dc_interrupt_ack(struct dc *dc, enum dc_irq_source src)
void dc_power_down_on_boot(struct dc *dc)
{
if (dc->ctx->dce_environment != DCE_ENV_VIRTUAL_HW &&
- dc->hwss.power_down_on_boot) {
-
- if (dc->caps.ips_support)
- dc_exit_ips_for_hw_access(dc);
-
+ dc->hwss.power_down_on_boot) {
+ if (dc->caps.ips_support)
+ dc_exit_ips_for_hw_access(dc);
dc->hwss.power_down_on_boot(dc);
}
}
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] drm/amd/display: re-indent dc_power_down_on_boot()
2024-04-25 11:21 [PATCH v2] drm/amd/display: re-indent dc_power_down_on_boot() Dan Carpenter
@ 2024-04-30 18:43 ` Harry Wentland
0 siblings, 0 replies; 2+ messages in thread
From: Harry Wentland @ 2024-04-30 18:43 UTC (permalink / raw)
To: Dan Carpenter
Cc: Leo Li, Rodrigo Siqueira, Alex Deucher, Christian König,
Pan, Xinhui, David Airlie, Daniel Vetter, Alvin Lee, Wenjing Liu,
Jun Lei, Tom Chung, Aurabindo Pillai, Dillon Varone, amd-gfx,
dri-devel, linux-kernel, kernel-janitors
On 2024-04-25 07:21, Dan Carpenter wrote:
> These lines are indented too far. Clean the whitespace.
>
Thanks.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
In the process of merging it into amd-staging-drm-next.
Harry
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> ---
> v2: Delete another blank line (checkpatch.pl --strict).
>
> drivers/gpu/drm/amd/display/dc/core/dc.c | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index 3e16041bf4f9..5a0835f884a8 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> @@ -5192,11 +5192,9 @@ void dc_interrupt_ack(struct dc *dc, enum dc_irq_source src)
> void dc_power_down_on_boot(struct dc *dc)
> {
> if (dc->ctx->dce_environment != DCE_ENV_VIRTUAL_HW &&
> - dc->hwss.power_down_on_boot) {
> -
> - if (dc->caps.ips_support)
> - dc_exit_ips_for_hw_access(dc);
> -
> + dc->hwss.power_down_on_boot) {
> + if (dc->caps.ips_support)
> + dc_exit_ips_for_hw_access(dc);
> dc->hwss.power_down_on_boot(dc);
> }
> }
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-30 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 11:21 [PATCH v2] drm/amd/display: re-indent dc_power_down_on_boot() Dan Carpenter
2024-04-30 18:43 ` Harry Wentland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).