* [PATCH] drm/amd/display: Clean up indenting in dm_dp_mst_is_port_support_mode()
@ 2024-06-20 8:49 Dan Carpenter
2024-06-20 15:37 ` Alex Deucher
0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2024-06-20 8:49 UTC (permalink / raw)
To: Harry Wentland
Cc: Leo Li, Rodrigo Siqueira, Alex Deucher, Christian König,
Pan, Xinhui, David Airlie, Daniel Vetter, Alex Hung, Wayne Lin,
Fangzhi Zuo, Agustin Gutierrez, Mario Limonciello, Hersen Wu,
amd-gfx, dri-devel, linux-kernel, kernel-janitors
This code works, but it's not aligned correctly. Add a couple missing
tabs.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
index 48118447c8d9..5d4f831b1e55 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
@@ -1691,7 +1691,7 @@ enum dc_status dm_dp_mst_is_port_support_mode(
if (aconnector->mst_output_port->passthrough_aux) {
if (bw_range.min_kbps > end_to_end_bw_in_kbps) {
DRM_DEBUG_DRIVER("DSC passthrough. Max dsc compression can't fit into end-to-end bw\n");
- return DC_FAIL_BANDWIDTH_VALIDATE;
+ return DC_FAIL_BANDWIDTH_VALIDATE;
}
} else {
/*dsc bitstream decoded at the dp last link*/
@@ -1756,7 +1756,7 @@ enum dc_status dm_dp_mst_is_port_support_mode(
if (branch_max_throughput_mps != 0 &&
((stream->timing.pix_clk_100hz / 10) > branch_max_throughput_mps * 1000)) {
DRM_DEBUG_DRIVER("DSC is required but max throughput mps fails");
- return DC_FAIL_BANDWIDTH_VALIDATE;
+ return DC_FAIL_BANDWIDTH_VALIDATE;
}
} else {
DRM_DEBUG_DRIVER("DSC is required but can't find common dsc config.");
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amd/display: Clean up indenting in dm_dp_mst_is_port_support_mode()
2024-06-20 8:49 [PATCH] drm/amd/display: Clean up indenting in dm_dp_mst_is_port_support_mode() Dan Carpenter
@ 2024-06-20 15:37 ` Alex Deucher
0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2024-06-20 15:37 UTC (permalink / raw)
To: Dan Carpenter
Cc: Harry Wentland, Leo Li, Rodrigo Siqueira, Alex Deucher,
Christian König, Pan, Xinhui, David Airlie, Daniel Vetter,
Alex Hung, Wayne Lin, Fangzhi Zuo, Agustin Gutierrez,
Mario Limonciello, Hersen Wu, amd-gfx, dri-devel, linux-kernel,
kernel-janitors
Applied. Thanks!
Alex
On Thu, Jun 20, 2024 at 4:49 AM Dan Carpenter <dan.carpenter@linaro.org> wrote:
>
> This code works, but it's not aligned correctly. Add a couple missing
> tabs.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> index 48118447c8d9..5d4f831b1e55 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> @@ -1691,7 +1691,7 @@ enum dc_status dm_dp_mst_is_port_support_mode(
> if (aconnector->mst_output_port->passthrough_aux) {
> if (bw_range.min_kbps > end_to_end_bw_in_kbps) {
> DRM_DEBUG_DRIVER("DSC passthrough. Max dsc compression can't fit into end-to-end bw\n");
> - return DC_FAIL_BANDWIDTH_VALIDATE;
> + return DC_FAIL_BANDWIDTH_VALIDATE;
> }
> } else {
> /*dsc bitstream decoded at the dp last link*/
> @@ -1756,7 +1756,7 @@ enum dc_status dm_dp_mst_is_port_support_mode(
> if (branch_max_throughput_mps != 0 &&
> ((stream->timing.pix_clk_100hz / 10) > branch_max_throughput_mps * 1000)) {
> DRM_DEBUG_DRIVER("DSC is required but max throughput mps fails");
> - return DC_FAIL_BANDWIDTH_VALIDATE;
> + return DC_FAIL_BANDWIDTH_VALIDATE;
> }
> } else {
> DRM_DEBUG_DRIVER("DSC is required but can't find common dsc config.");
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-20 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-20 8:49 [PATCH] drm/amd/display: Clean up indenting in dm_dp_mst_is_port_support_mode() Dan Carpenter
2024-06-20 15:37 ` Alex Deucher
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®