mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/6] drm/amd/display: Use max/min macro
@ 2024-08-22  6:57 Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 1/6] " Yu Jiaoliang
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:57 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

*** BLURB HERE ***

Yu Jiaoliang (6):
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro

 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c            | 4 ++--
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c            | 4 ++--
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c                 | 2 +-
 drivers/gpu/drm/amd/display/dc/spl/dc_spl.c                  | 4 ++--
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c      | 4 ++--
 6 files changed, 12 insertions(+), 10 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 1/6] drm/amd/display: Use max/min macro
  2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
@ 2024-08-22  6:57 ` Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 2/6] " Yu Jiaoliang
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:57 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

Use the macro instead of ternary operator.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
index 3bacf470f7c5..f8c1650eb21f 100644
--- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
+++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
@@ -2300,8 +2300,8 @@ static enum bp_result get_integrated_info_v8(
 		le32_to_cpu(info_v8->ulNbpStateNClkFreq[0]);
 	for (i = 1; i < 4; ++i)
 		info->minimum_n_clk =
-			info->minimum_n_clk < le32_to_cpu(info_v8->ulNbpStateNClkFreq[i]) ?
-			info->minimum_n_clk : le32_to_cpu(info_v8->ulNbpStateNClkFreq[i]);
+			min(info->minimum_n_clk,
+			    le32_to_cpu(info_v8->ulNbpStateNClkFreq[i]));
 
 	info->idle_n_clk = le32_to_cpu(info_v8->ulIdleNClk);
 	info->ddr_dll_power_up_time =
-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 2/6] drm/amd/display: Use max/min macro
  2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 1/6] " Yu Jiaoliang
@ 2024-08-22  6:57 ` Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 3/6] " Yu Jiaoliang
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:57 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

Use the macro instead of ternary operator.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
index bb4f3bd7532e..4975d47b66d8 100644
--- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
+++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
@@ -311,7 +311,9 @@ void dcn2_update_clocks(struct clk_mgr *clk_mgr_base,
 		new_clocks->disp_dpp_voltage_level_khz = new_clocks->dppclk_khz;
 
 		if (update_dispclk)
-			new_clocks->disp_dpp_voltage_level_khz = new_clocks->dispclk_khz > new_clocks->dppclk_khz ? new_clocks->dispclk_khz : new_clocks->dppclk_khz;
+			new_clocks->disp_dpp_voltage_level_khz =
+				max(new_clocks->dispclk_khz,
+				    new_clocks->dppclk_khz);
 
 		clk_mgr_base->clks.disp_dpp_voltage_level_khz = new_clocks->disp_dpp_voltage_level_khz;
 		if (pp_smu && pp_smu->set_voltage_by_freq)
-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 3/6] drm/amd/display: Use max/min macro
  2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 1/6] " Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 2/6] " Yu Jiaoliang
@ 2024-08-22  6:57 ` Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 4/6] " Yu Jiaoliang
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:57 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

 Use the macro instead of ternary operator.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
index b38340c690c6..5d40f61261ad 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
@@ -797,9 +797,9 @@ static struct rect intersect_rec(const struct rect *r0, const struct rect *r1)
 	int r0_y_end = r0->y + r0->height;
 	int r1_y_end = r1->y + r1->height;
 
-	rec.x = r0->x > r1->x ? r0->x : r1->x;
+	rec.x = max(r0->x, r1->x);
 	rec.width = r0_x_end > r1_x_end ? r1_x_end - rec.x : r0_x_end - rec.x;
-	rec.y = r0->y > r1->y ? r0->y : r1->y;
+	rec.y = max(r0->y, r1->y);
 	rec.height = r0_y_end > r1_y_end ? r1_y_end - rec.y : r0_y_end - rec.y;
 
 	/* in case that there is no intersection */
-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 4/6] drm/amd/display: Use max/min macro
  2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
                   ` (2 preceding siblings ...)
  2024-08-22  6:57 ` [PATCH v1 3/6] " Yu Jiaoliang
@ 2024-08-22  6:57 ` Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 5/6] " Yu Jiaoliang
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:57 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

Use the macro instead of ternary operator.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
index b1265124608b..f48f8cf1e232 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
+++ b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
@@ -606,7 +606,7 @@ static void populate_subvp_cmd_drr_info(struct dc *dc,
 	max_drr_vblank_us = div64_u64((subvp_active_us - prefetch_us -
 			dc->caps.subvp_fw_processing_delay_us - drr_active_us), 2) + drr_active_us;
 	max_drr_mallregion_us = subvp_active_us - prefetch_us - mall_region_us - dc->caps.subvp_fw_processing_delay_us;
-	max_drr_supported_us = max_drr_vblank_us > max_drr_mallregion_us ? max_drr_vblank_us : max_drr_mallregion_us;
+	max_drr_supported_us = max(max_drr_vblank_us, max_drr_mallregion_us);
 	max_vtotal_supported = div64_u64(((uint64_t)drr_timing->pix_clk_100hz * 100 * max_drr_supported_us),
 			(((uint64_t)drr_timing->h_total * 1000000)));
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 5/6] drm/amd/display: Use max/min macro
  2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
                   ` (3 preceding siblings ...)
  2024-08-22  6:57 ` [PATCH v1 4/6] " Yu Jiaoliang
@ 2024-08-22  6:57 ` Yu Jiaoliang
  2024-08-22  6:57 ` [PATCH v1 6/6] " Yu Jiaoliang
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:57 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

Use the macro instead of ternary operator.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
 drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c b/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
index 9eccdb38bed4..d5fa6e79fdff 100644
--- a/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
+++ b/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
@@ -17,9 +17,9 @@ static struct spl_rect intersect_rec(const struct spl_rect *r0, const struct spl
 	int r0_y_end = r0->y + r0->height;
 	int r1_y_end = r1->y + r1->height;
 
-	rec.x = r0->x > r1->x ? r0->x : r1->x;
+	rec.x = max(r0->x, r1->x);
 	rec.width = r0_x_end > r1_x_end ? r1_x_end - rec.x : r0_x_end - rec.x;
-	rec.y = r0->y > r1->y ? r0->y : r1->y;
+	rec.y = max(r0->y, r1->y);
 	rec.height = r0_y_end > r1_y_end ? r1_y_end - rec.y : r0_y_end - rec.y;
 
 	/* in case that there is no intersection */
-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 6/6] drm/amd/display: Use max/min macro
  2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
                   ` (4 preceding siblings ...)
  2024-08-22  6:57 ` [PATCH v1 5/6] " Yu Jiaoliang
@ 2024-08-22  6:57 ` Yu Jiaoliang
  2024-08-22  9:45 ` [PATCH v1 0/6] " 于佼良
  2024-08-22 18:34 ` Alex Deucher
  7 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:57 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

Use the macro instead of ternary operator.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
index a40e6590215a..33b9b87d8d3a 100644
--- a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
+++ b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
@@ -1005,8 +1005,8 @@ void mod_freesync_build_vrr_params(struct mod_freesync *mod_freesync,
 			(stream->timing.h_total * (long long)stream->ctx->dc->caps.max_v_total));
 	}
 	/* Limit minimum refresh rate to what can be supported by hardware */
-	min_refresh_in_uhz = min_hardware_refresh_in_uhz > in_config->min_refresh_in_uhz ?
-		min_hardware_refresh_in_uhz : in_config->min_refresh_in_uhz;
+	min_refresh_in_uhz =
+		max(min_hardware_refresh_in_uhz, in_config->min_refresh_in_uhz);
 	max_refresh_in_uhz = in_config->max_refresh_in_uhz;
 
 	/* Full range may be larger than current video timing, so cap at nominal */
-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v1 0/6] drm/amd/display: Use max/min macro
  2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
                   ` (5 preceding siblings ...)
  2024-08-22  6:57 ` [PATCH v1 6/6] " Yu Jiaoliang
@ 2024-08-22  9:45 ` 于佼良
  2024-08-22 18:34 ` Alex Deucher
  7 siblings, 0 replies; 12+ messages in thread
From: 于佼良 @ 2024-08-22  9:45 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

在 2024/8/22 14:57, Yu Jiaoliang 写道:
> *** BLURB HERE ***
>
> Yu Jiaoliang (6):
>    drm/amd/display: Use max/min macro
>    drm/amd/display: Use max/min macro
>    drm/amd/display: Use max/min macro
>    drm/amd/display: Use max/min macro
>    drm/amd/display: Use max/min macro
>    drm/amd/display: Use max/min macro
>
>   drivers/gpu/drm/amd/display/dc/bios/bios_parser.c            | 4 ++--
>   drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
>   drivers/gpu/drm/amd/display/dc/core/dc_resource.c            | 4 ++--
>   drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c                 | 2 +-
>   drivers/gpu/drm/amd/display/dc/spl/dc_spl.c                  | 4 ++--
>   drivers/gpu/drm/amd/display/modules/freesync/freesync.c      | 4 ++--
>   6 files changed, 12 insertions(+), 10 deletions(-)
>
Sorry, please ignore this patch for now. As the corresponding header 
file is not included, compilation errors may occur. This patch will be 
updated later.

Br,

Yu


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v1 0/6] drm/amd/display: Use max/min macro
  2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
                   ` (6 preceding siblings ...)
  2024-08-22  9:45 ` [PATCH v1 0/6] " 于佼良
@ 2024-08-22 18:34 ` Alex Deucher
  7 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2024-08-22 18:34 UTC (permalink / raw)
  To: Yu Jiaoliang
  Cc: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel,
	opensource.kernel

On Thu, Aug 22, 2024 at 2:57 AM Yu Jiaoliang <yujiaoliang@vivo.com> wrote:
>
> *** BLURB HERE ***
>
> Yu Jiaoliang (6):
>   drm/amd/display: Use max/min macro
>   drm/amd/display: Use max/min macro
>   drm/amd/display: Use max/min macro
>   drm/amd/display: Use max/min macro
>   drm/amd/display: Use max/min macro
>   drm/amd/display: Use max/min macro

Is this the preferred kernel coding style for these type of
comparisons?  Otherwise this just seems like a lot of churn for not
much gain.

Alex

>
>  drivers/gpu/drm/amd/display/dc/bios/bios_parser.c            | 4 ++--
>  drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
>  drivers/gpu/drm/amd/display/dc/core/dc_resource.c            | 4 ++--
>  drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c                 | 2 +-
>  drivers/gpu/drm/amd/display/dc/spl/dc_spl.c                  | 4 ++--
>  drivers/gpu/drm/amd/display/modules/freesync/freesync.c      | 4 ++--
>  6 files changed, 12 insertions(+), 10 deletions(-)
>
> --
> 2.34.1
>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 0/6] drm/amd/display: Use max/min macro
@ 2024-08-22  6:54 Yu Jiaoliang
  0 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:54 UTC (permalink / raw)
  To: Leo Li, Rodrigo Siqueira, Xinhui Pan, David Airlie,
	Daniel Vetter, Hamza Mahfooz, Alex Hung, Hersen Wu,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

*** BLURB HERE ***

Yu Jiaoliang (6):
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro

 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c            | 4 ++--
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c            | 4 ++--
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c                 | 2 +-
 drivers/gpu/drm/amd/display/dc/spl/dc_spl.c                  | 4 ++--
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c      | 4 ++--
 6 files changed, 12 insertions(+), 10 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 0/6] drm/amd/display: Use max/min macro
@ 2024-08-22  6:51 Yu Jiaoliang
  0 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:51 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Xinhui Pan,
	David Airlie, Daniel Vetter, Hamza Mahfooz, Alex Hung, Hersen Wu,
	Dillon Varone, amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

*** BLURB HERE ***

Yu Jiaoliang (6):
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro

 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c            | 4 ++--
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c            | 4 ++--
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c                 | 2 +-
 drivers/gpu/drm/amd/display/dc/spl/dc_spl.c                  | 4 ++--
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c      | 4 ++--
 6 files changed, 12 insertions(+), 10 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v1 0/6] drm/amd/display: Use max/min macro
@ 2024-08-22  6:29 Yu Jiaoliang
  0 siblings, 0 replies; 12+ messages in thread
From: Yu Jiaoliang @ 2024-08-22  6:29 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Rodrigo Siqueira, Alex Deucher,
	Christian König, Xinhui Pan, David Airlie, Daniel Vetter,
	Alex Hung, Hamza Mahfooz, Tom Chung, Hersen Wu, Dillon Varone,
	amd-gfx, dri-devel, linux-kernel
  Cc: opensource.kernel

*** BLURB HERE ***

Yu Jiaoliang (6):
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro
  drm/amd/display: Use max/min macro

 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c            | 4 ++--
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c            | 4 ++--
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c                 | 2 +-
 drivers/gpu/drm/amd/display/dc/spl/dc_spl.c                  | 4 ++--
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c      | 4 ++--
 6 files changed, 12 insertions(+), 10 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-08-22 18:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-22  6:57 [PATCH v1 0/6] drm/amd/display: Use max/min macro Yu Jiaoliang
2024-08-22  6:57 ` [PATCH v1 1/6] " Yu Jiaoliang
2024-08-22  6:57 ` [PATCH v1 2/6] " Yu Jiaoliang
2024-08-22  6:57 ` [PATCH v1 3/6] " Yu Jiaoliang
2024-08-22  6:57 ` [PATCH v1 4/6] " Yu Jiaoliang
2024-08-22  6:57 ` [PATCH v1 5/6] " Yu Jiaoliang
2024-08-22  6:57 ` [PATCH v1 6/6] " Yu Jiaoliang
2024-08-22  9:45 ` [PATCH v1 0/6] " 于佼良
2024-08-22 18:34 ` Alex Deucher
  -- strict thread matches above, loose matches on Subject: below --
2024-08-22  6:54 Yu Jiaoliang
2024-08-22  6:51 Yu Jiaoliang
2024-08-22  6:29 Yu Jiaoliang

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®