public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [PATCH i-g-t v2 11/23] tests/kms_plane_scaling: Use igt_crtc_t instead of enum pipe
Date: Mon, 23 Feb 2026 16:06:58 +0200	[thread overview]
Message-ID: <4502d0c1a0c0e4338c08a089ca1d7e5046d042ac@intel.com> (raw)
In-Reply-To: <20260221032003.30936-12-ville.syrjala@linux.intel.com>

On Sat, 21 Feb 2026, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Convert kms_frontbuffer_tracking from 'enum pipe' to 'igt_crtc_t'.
>
> There are three noteworthy complications in this one:
> - two pipe/crtc usage in test_invalid_num_scalers()

ITYM test_scaler_with_multi_pipe_plane.

> - find_connnected_pipe() return value

*connected

Reviewed-by: Jani Nikula <jani.nikula@intel.com>


> - fixed PIPE_A usage in invalid_parameter_tests()
>
>  #include "scripts/iterators.cocci"
>
> @multi_pipe@
> typedef igt_crtc_t;
> typedef igt_display_t;
> identifier DISPLAY;
> enum pipe PIPE1, PIPE2;
> expression GET_PIPE1, GET_PIPE2;
> @@
>   igt_display_t *DISPLAY = ...;
> + igt_crtc_t *crtc1;
> + igt_crtc_t *crtc2;
> ...
> - PIPE1 = GET_PIPE1;
> + crtc1 = igt_crtc_for_pipe(DISPLAY, GET_PIPE1);
> ...
> - PIPE2 = GET_PIPE2;
> + crtc2 = igt_crtc_for_pipe(DISPLAY, GET_PIPE2);
> <...
> (
> - igt_crtc_for_pipe(..., PIPE1)
> + crtc1
> |
> - kmstest_pipe_name(PIPE1)
> + igt_crtc_name(crtc1)
> |
> - PIPE1
> + crtc1->pipe
> |
> - igt_crtc_for_pipe(..., PIPE2)
> + crtc2
> |
> - kmstest_pipe_name(PIPE2)
> + igt_crtc_name(crtc2)
> |
> - PIPE2
> + crtc2->pipe
> )
> ...>
>
> @@
> identifier PIPE;
> @@
> - enum pipe PIPE;
> ... when != PIPE
>
> @ret_pipe@
> typedef igt_output_t;
> typedef igt_crtc_t;
> identifier FUNC;
> igt_crtc_t *CRTC;
> parameter list[N] P;
> @@
> - enum pipe
> + igt_crtc_t *
> FUNC(P)
> {
> <...
> - return CRTC->pipe;
> + return CRTC;
> ...>
> }
>
> @depends on ret_pipe@
> identifier ret_pipe.FUNC;
> @@
> FUNC(...)
> + ->pipe
>
> @func1@
> typedef igt_output_t;
> typedef igt_crtc_t;
> identifier FUNC, PIPE, CRTC;
> parameter list[N] P;
> @@
> FUNC(P
> -	,enum pipe PIPE
> +	,igt_crtc_t *CRTC
> 	,...)
> {
> ...
> (
> - igt_crtc_t *CRTC = igt_crtc_for_pipe(..., PIPE);
> |
> - igt_crtc_t *CRTC;
> ... when != PIPE = ...
> - CRTC = igt_crtc_for_pipe(..., PIPE);
> )
> <... when != PIPE = ...
> (
> - igt_crtc_for_pipe(..., PIPE)
> + CRTC
> |
> - kmstest_pipe_name(PIPE)
> + igt_crtc_name(CRTC)
> |
> - PIPE
> + CRTC->pipe
> )
> ...>
> }
>
> @depends on func1@
> identifier func1.FUNC;
> expression list[func1.N] EP;
> expression PIPE;
> @@
> FUNC(EP
> -	,PIPE
> +	,igt_crtc_for_pipe(display, PIPE)
> 	,...)
>
> @func2@
> typedef igt_crtc_t;
> identifier FUNC, PIPE;
> parameter list[N] P;
> @@
> FUNC(P
> -	,enum pipe PIPE
> +	,igt_crtc_t *crtc
> 	,...)
> {
> <+... when != PIPE = ...
> (
> - igt_crtc_for_pipe(..., PIPE)
> + crtc
> |
> - kmstest_pipe_name(PIPE)
> + igt_crtc_name(crtc)
> |
> - PIPE
> + crtc->pipe
> )
> ...+>
> }
>
> @depends on func2@
> identifier func2.FUNC;
> expression list[func2.N] EP;
> expression PIPE;
> @@
> FUNC(EP
> -	,PIPE
> +	,igt_crtc_for_pipe(display, PIPE)
> 	,...)
>
> @depends on ret_pipe@
> identifier ret_pipe.FUNC;
> expression list[ret_pipe.N] EP;
> @@
> - igt_crtc_for_pipe(..., FUNC(EP)->pipe)
> + FUNC(EP)
>
> @@
> igt_crtc_t *CRTC;
> @@
> - igt_crtc_for_pipe(..., CRTC->pipe)
> + CRTC
>
> @@
> typedef igt_display_t;
> identifier DISPLAY;
> @@
> - igt_display_t *DISPLAY = ...;
> ... when != DISPLAY
>
> @fixed_pipe_a@
> identifier PIPE, DISPLAY;
> @@
> igt_display_t *DISPLAY = ...;
> ...
> - enum pipe PIPE = PIPE_A;
> + igt_crtc_t *crtc;
> ...
> igt_fixture() {
> + crtc = igt_crtc_for_pipe(DISPLAY, PIPE_A);
> <+... when != PIPE = ...
> (
> - igt_crtc_for_pipe(..., PIPE)
> + crtc
> |
> - kmstest_pipe_name(PIPE)
> + igt_crtc_name(crtc)
> |
> - PIPE
> + crtc->pipe
> )
> ...+>
> }
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
>  tests/kms_plane_scaling.c | 114 ++++++++++++++++++++------------------
>  1 file changed, 59 insertions(+), 55 deletions(-)
>
> diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
> index 887914ec8b79..893f2830b446 100644
> --- a/tests/kms_plane_scaling.c
> +++ b/tests/kms_plane_scaling.c
> @@ -690,13 +690,13 @@ static bool test_format(data_t *data,
>  	return true;
>  }
>  
> -static bool test_pipe_iteration(data_t *data, enum pipe pipe, int iteration)
> +static bool test_pipe_iteration(data_t *data, igt_crtc_t *crtc, int iteration)
>  {
>  	if (!is_intel_device(data->drm_fd) ||
>  	    data->extended)
>  		return true;
>  
> -	if ((pipe > PIPE_B) && (iteration >= 2))
> +	if ((crtc->pipe > PIPE_B) && (iteration >= 2))
>  		return false;
>  
>  	return true;
> @@ -714,12 +714,10 @@ static uint32_t
>  test_scaler_with_modifier_pipe(data_t *d,
>  			       double sf_plane,
>  			       bool is_clip_clamp,
> -			       bool is_upscale,
> -			       enum pipe pipe,
> +			       bool is_upscale, igt_crtc_t *crtc,
>  			       igt_output_t *output)
>  {
>  	igt_display_t *display = &d->display;
> -	igt_crtc_t *crtc = igt_crtc_for_pipe(display, pipe);
>  	unsigned format = DRM_FORMAT_XRGB8888;
>  	igt_plane_t *plane;
>  	uint32_t ret;
> @@ -754,12 +752,10 @@ static uint32_t
>  test_scaler_with_rotation_pipe(data_t *d,
>  			       double sf_plane,
>  			       bool is_clip_clamp,
> -			       bool is_upscale,
> -			       enum pipe pipe,
> +			       bool is_upscale, igt_crtc_t *crtc,
>  			       igt_output_t *output)
>  {
>  	igt_display_t *display = &d->display;
> -	igt_crtc_t *crtc = igt_crtc_for_pipe(display, pipe);
>  	unsigned format = DRM_FORMAT_XRGB8888;
>  	uint64_t modifier = DRM_FORMAT_MOD_LINEAR;
>  	igt_plane_t *plane;
> @@ -794,12 +790,10 @@ test_scaler_with_rotation_pipe(data_t *d,
>  static uint32_t
>  test_scaler_with_pixel_format_pipe(data_t *d, double sf_plane,
>  				   bool is_clip_clamp,
> -				   bool is_upscale,
> -				   enum pipe pipe,
> +				   bool is_upscale, igt_crtc_t *crtc,
>  				   igt_output_t *output)
>  {
>  	igt_display_t *display = &d->display;
> -	igt_crtc_t *crtc = igt_crtc_for_pipe(display, pipe);
>  	uint64_t modifier = DRM_FORMAT_MOD_LINEAR;
>  	igt_plane_t *plane;
>  	uint32_t ret;
> @@ -819,7 +813,7 @@ test_scaler_with_pixel_format_pipe(data_t *d, double sf_plane,
>  		for (int j = 0; j < plane->drm_plane->count_formats; j++) {
>  			uint32_t format = plane->drm_plane->formats[j];
>  
> -			if (!test_pipe_iteration(d, crtc->pipe, j))
> +			if (!test_pipe_iteration(d, crtc, j))
>  				continue;
>  
>  			if (test_format(d, &tested_formats, format) &&
> @@ -842,7 +836,7 @@ test_scaler_with_pixel_format_pipe(data_t *d, double sf_plane,
>  	return ret;
>  }
>  
> -static enum pipe
> +static igt_crtc_t *
>  find_connected_pipe(igt_display_t *display, bool second, igt_output_t **output)
>  {
>  	igt_crtc_t *crtc;
> @@ -880,7 +874,7 @@ find_connected_pipe(igt_display_t *display, bool second, igt_output_t **output)
>  	else
>  		igt_require_f(found, "No valid outputs found\n");
>  
> -	return crtc->pipe;
> +	return crtc;
>  }
>  
>  static int
> @@ -940,13 +934,11 @@ static void setup_fb(int fd, int width, int height, struct igt_fb *fb)
>  
>  static uint32_t
>  test_planes_scaling_combo(data_t *d, double sf_plane1,
> -			  double sf_plane2,
> -			  enum pipe pipe,
> +			  double sf_plane2, igt_crtc_t *crtc,
>  			  igt_output_t *output,
>  			  enum scaler_combo_test_type test_type)
>  {
>  	igt_display_t *display = &d->display;
> -	igt_crtc_t *crtc = igt_crtc_for_pipe(display, pipe);
>  	drmModeModeInfo *mode;
>  	int n_planes;
>  	int w1, h1, w2, h2;
> @@ -1014,10 +1006,9 @@ test_planes_scaling_combo(data_t *d, double sf_plane1,
>  }
>  
>  static void
> -test_invalid_num_scalers(data_t *d, enum pipe pipe, igt_output_t *output)
> +test_invalid_num_scalers(data_t *d, igt_crtc_t *crtc, igt_output_t *output)
>  {
>  	igt_display_t *display = &d->display;
> -	igt_crtc_t *crtc = igt_crtc_for_pipe(display, pipe);
>  	int width, height;
>  	igt_plane_t *plane[3];
>  	drmModeModeInfo *mode;
> @@ -1084,29 +1075,30 @@ test_invalid_num_scalers(data_t *d, enum pipe pipe, igt_output_t *output)
>  static void test_scaler_with_multi_pipe_plane(data_t *d)
>  {
>  	igt_display_t *display = &d->display;
> +	igt_crtc_t *crtc1;
> +	igt_crtc_t *crtc2;
>  	igt_output_t *output1, *output2;
>  	drmModeModeInfo *mode1, *mode2;
>  	igt_plane_t *plane[4];
> -	enum pipe pipe1, pipe2;
>  	int ret1, ret2;
>  
>  	cleanup_fbs(d);
>  
> -	pipe1 = find_connected_pipe(display, false, &output1);
> -	pipe2 = find_connected_pipe(display, true, &output2);
> +	crtc1 = find_connected_pipe(display, false, &output1);
> +	crtc2 = find_connected_pipe(display, true, &output2);
>  	igt_skip_on(!output1 || !output2);
>  
>  	igt_info("Using (pipe %s + %s) and (pipe %s + %s) to run the subtest.\n",
> -		 kmstest_pipe_name(pipe1), igt_output_name(output1),
> -		 kmstest_pipe_name(pipe2), igt_output_name(output2));
> +		 igt_crtc_name(crtc1), igt_output_name(output1),
> +		 igt_crtc_name(crtc2), igt_output_name(output2));
>  
>  	igt_output_set_crtc(output1,
> -			    igt_crtc_for_pipe(display, pipe1));
> +			    crtc1);
>  	igt_output_set_crtc(output2,
> -			    igt_crtc_for_pipe(display, pipe2));
> +			    crtc2);
>  
> -	igt_require(get_num_scalers(display, pipe1) >= 2);
> -	igt_require(get_num_scalers(display, pipe2) >= 2);
> +	igt_require(get_num_scalers(display, crtc1->pipe) >= 2);
> +	igt_require(get_num_scalers(display, crtc2->pipe) >= 2);
>  
>  	plane[0] = igt_output_get_plane(output1, 0);
>  	igt_require(plane[0]);
> @@ -1169,7 +1161,7 @@ static void test_scaler_with_multi_pipe_plane(data_t *d)
>  static void invalid_parameter_tests(data_t *d)
>  {
>  	igt_display_t *display = &d->display;
> -	enum pipe pipe = PIPE_A;
> +	igt_crtc_t *crtc;
>  	igt_output_t *output;
>  	igt_fb_t fb;
>  	igt_plane_t *plane;
> @@ -1189,14 +1181,16 @@ static void invalid_parameter_tests(data_t *d)
>  	};
>  
>  	igt_fixture() {
> -		output = igt_get_single_output_for_pipe(&d->display, pipe);
> +		crtc = igt_crtc_for_pipe(display, PIPE_A);
> +		output = igt_get_single_output_for_pipe(&d->display,
> +							crtc->pipe);
>  		igt_require(output);
>  
>  		igt_output_set_crtc(output,
> -				    igt_crtc_for_pipe(display, pipe));
> +				    crtc);
>  		plane = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
>  
> -		igt_require(get_num_scalers(&d->display, pipe) >= 1);
> +		igt_require(get_num_scalers(&d->display, crtc->pipe) >= 1);
>  
>  		igt_create_fb(d->drm_fd, 256, 256,
>  			      DRM_FORMAT_XRGB8888,
> @@ -1280,11 +1274,10 @@ static drmModeModeInfo *find_mode(data_t *data, igt_output_t *output, const stru
>   *		max_dst_w = 8192
>   *		max_dst_h = 8192
>   */
> -static void intel_max_source_size_test(data_t *d, enum pipe pipe, igt_output_t *output,
> +static void intel_max_source_size_test(data_t *d, igt_crtc_t *crtc,
> +				       igt_output_t *output,
>  				       const struct invalid_paramtests *param)
>  {
> -	igt_display_t *display = &d->display;
> -	igt_crtc_t *crtc = igt_crtc_for_pipe(display, pipe);
>  	igt_fb_t fb;
>  	igt_plane_t *plane;
>  	int rval;
> @@ -1327,14 +1320,14 @@ static void intel_max_source_size_test(data_t *d, enum pipe pipe, igt_output_t *
>  }
>  
>  static bool
> -pipe_output_combo_valid(igt_display_t *display,
> -			enum pipe pipe, igt_output_t *output)
> +pipe_output_combo_valid(igt_display_t *display, igt_crtc_t *crtc,
> +			igt_output_t *output)
>  {
>  	bool ret = true;
>  
>  	igt_display_reset(display);
>  
> -	igt_output_set_crtc(output, igt_crtc_for_pipe(display, pipe));
> +	igt_output_set_crtc(output, crtc);
>  	if (!intel_pipe_output_combo_valid(display))
>  		ret = false;
>  	igt_output_set_crtc(output, NULL);
> @@ -1388,7 +1381,7 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  					igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
>  						for_each_valid_output_on_pipe(&data.display, crtc->pipe, output) {
>  							igt_info("Trying on %s\n", igt_output_name(output));
> -							if (!pipe_output_combo_valid(&data.display, crtc->pipe, output))
> +							if (!pipe_output_combo_valid(&data.display, crtc, output))
>  								continue;
>  							if (get_num_scalers(&data.display, crtc->pipe) < 1)
>  								continue;
> @@ -1397,7 +1390,8 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  									scaler_with_pixel_format_tests[index].sf,
>  									false,
>  									scaler_with_pixel_format_tests[index].is_upscale,
> -									crtc->pipe, output);
> +									crtc,
> +									output);
>  							if (ret == 0)
>  								break;
>  							igt_info("Required scaling operation not supported on %s trying on next output\n",
> @@ -1416,7 +1410,7 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  					igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
>  						for_each_valid_output_on_pipe(&data.display, crtc->pipe, output) {
>  							igt_info("Trying on %s\n", igt_output_name(output));
> -							if (!pipe_output_combo_valid(&data.display, crtc->pipe, output))
> +							if (!pipe_output_combo_valid(&data.display, crtc, output))
>  								continue;
>  							if (get_num_scalers(&data.display, crtc->pipe) < 1)
>  								continue;
> @@ -1425,7 +1419,8 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  									scaler_with_rotation_tests[index].sf,
>  									false,
>  									scaler_with_rotation_tests[index].is_upscale,
> -									crtc->pipe, output);
> +									crtc,
> +									output);
>  							if (ret == 0)
>  								break;
>  							igt_info("Required scaling operation not supported on %s trying on next output\n",
> @@ -1444,7 +1439,7 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  					igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
>  						for_each_valid_output_on_pipe(&data.display, crtc->pipe, output) {
>  							igt_info("Trying on %s\n", igt_output_name(output));
> -							if (!pipe_output_combo_valid(&data.display, crtc->pipe, output))
> +							if (!pipe_output_combo_valid(&data.display, crtc, output))
>  								continue;
>  							if (get_num_scalers(&data.display, crtc->pipe) < 1)
>  								continue;
> @@ -1453,7 +1448,8 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  									scaler_with_modifiers_tests[index].sf,
>  									false,
>  									scaler_with_modifiers_tests[index].is_upscale,
> -									crtc->pipe, output);
> +									crtc,
> +									output);
>  							if (ret == 0)
>  								break;
>  							igt_info("Required scaling operation not supported on %s trying on next output\n",
> @@ -1471,13 +1467,14 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  				igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
>  					for_each_valid_output_on_pipe(&data.display, crtc->pipe, output) {
>  						igt_info("Trying on %s\n", igt_output_name(output));
> -						if (!pipe_output_combo_valid(&data.display, crtc->pipe, output))
> +						if (!pipe_output_combo_valid(&data.display, crtc, output))
>  							continue;
>  						if (get_num_scalers(&data.display, crtc->pipe) < 1)
>  							continue;
>  
>  						ret = test_scaler_with_pixel_format_pipe(&data, 0.0, true,
> -											 false, crtc->pipe,
> +											 false,
> +											 crtc,
>  											 output);
>  						if (ret == 0)
>  							break;
> @@ -1496,13 +1493,14 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  				igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
>  					for_each_valid_output_on_pipe(&data.display, crtc->pipe, output) {
>  						igt_info("Trying on %s\n", igt_output_name(output));
> -						if (!pipe_output_combo_valid(&data.display, crtc->pipe, output))
> +						if (!pipe_output_combo_valid(&data.display, crtc, output))
>  							continue;
>  						if (get_num_scalers(&data.display, crtc->pipe) < 1)
>  							continue;
>  
>  						ret = test_scaler_with_rotation_pipe(&data, 0.0, true,
> -										     false, crtc->pipe,
> +										     false,
> +										     crtc,
>  										     output);
>  						if (ret == 0)
>  							break;
> @@ -1520,13 +1518,14 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  				igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
>  					for_each_valid_output_on_pipe(&data.display, crtc->pipe, output) {
>  						igt_info("Trying on %s\n", igt_output_name(output));
> -						if (!pipe_output_combo_valid(&data.display, crtc->pipe, output))
> +						if (!pipe_output_combo_valid(&data.display, crtc, output))
>  							continue;
>  						if (get_num_scalers(&data.display, crtc->pipe) < 1)
>  							continue;
>  
>  						ret = test_scaler_with_modifier_pipe(&data, 0.0, true,
> -										     false, crtc->pipe,
> +										     false,
> +										     crtc,
>  										     output);
>  						if (ret == 0)
>  							break;
> @@ -1546,14 +1545,15 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  						for_each_valid_output_on_pipe(&data.display, crtc->pipe, output) {
>  							igt_info("Trying on %s\n",
>  								 igt_output_name(output));
> -							if (!pipe_output_combo_valid(&data.display, crtc->pipe, output))
> +							if (!pipe_output_combo_valid(&data.display, crtc, output))
>  								continue;
>  							if (get_num_scalers(&data.display, crtc->pipe) < 2)
>  								continue;
>  							ret = test_planes_scaling_combo(&data,
>  								scaler_with_2_planes_tests[index].sf_plane1,
>  								scaler_with_2_planes_tests[index].sf_plane2,
> -								crtc->pipe, output,
> +								crtc,
> +								output,
>  								scaler_with_2_planes_tests[index].test_type);
>  							if (ret == 0)
>  								break;
> @@ -1581,7 +1581,9 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  						if (find_mode(&data, output, &intel_paramtests[index]))
>  							igt_dynamic_f("pipe-%s-%s",
>  								      igt_crtc_name(crtc), igt_output_name(output))
> -								intel_max_source_size_test(&data, crtc->pipe, output,
> +								intel_max_source_size_test(&data,
> +											   crtc,
> +											   output,
>  											   &intel_paramtests[index]);
>  						else
>  							igt_info("Unable to find the lowest " \
> @@ -1599,14 +1601,16 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
>  		igt_describe("Negative test for number of scalers per pipe.");
>  		igt_subtest_with_dynamic("invalid-num-scalers") {
>  			for_each_crtc_with_valid_output(&data.display, crtc, output) {
> -				if (!pipe_output_combo_valid(&data.display, crtc->pipe, output))
> +				if (!pipe_output_combo_valid(&data.display, crtc, output))
>  					continue;
>  				if (get_num_scalers(&data.display, crtc->pipe) < 1)
>  						continue;
>  
>  				igt_dynamic_f("pipe-%s-%s-invalid-num-scalers",
>  					      igt_crtc_name(crtc), igt_output_name(output))
> -					test_invalid_num_scalers(&data, crtc->pipe, output);
> +					test_invalid_num_scalers(&data,
> +								 crtc,
> +								 output);
>  			}
>  		}
>  	}

-- 
Jani Nikula, Intel

  reply	other threads:[~2026-02-23 14:07 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-21  3:19 [PATCH i-g-t v2 00/23] tests/kms: More igt_crtc_t conversions Ville Syrjala
2026-02-21  3:19 ` [PATCH i-g-t v2 01/23] tests/intel/kms_psr: Don't pass uninitialized 'pipe' to intel_fbc_supported_on_chipset() Ville Syrjala
2026-02-23 11:22   ` Jani Nikula
2026-02-24  7:28     ` Ville Syrjälä
2026-02-23 11:23   ` Jani Nikula
2026-02-23 12:01     ` Jani Nikula
2026-02-24  8:49   ` [PATCH i-g-t v3 " Ville Syrjala
2026-02-24  8:53     ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 02/23] tests/intel/kms_psr2_sf: Don't pass zero initialized 'data.pipe' " Ville Syrjala
2026-02-24  8:51   ` [PATCH i-g-t v3 " Ville Syrjala
2026-02-24  8:56     ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 03/23] tests/intel/kms_flip_scaled_crc: Remove unused 'enum pipe pipe' Ville Syrjala
2026-02-23 11:34   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 04/23] tests/kms_concurrent: Actually run the test over all connected crtcs Ville Syrjala
2026-02-23  3:09   ` Karthik B S
2026-02-21  3:19 ` [PATCH i-g-t v2 05/23] tests/amdgpu/amd_abm: Don't use uninitialized 'pipe' Ville Syrjala
2026-02-24 14:08   ` Jani Nikula
2026-02-25  9:18     ` Ville Syrjälä
2026-02-21  3:19 ` [PATCH i-g-t v2 06/23] tests/kms: Use 'enum pipe' over int' Ville Syrjala
2026-02-23 11:44   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 07/23] lib/kms: Add igt_crtc_for_crtc_id() Ville Syrjala
2026-02-23 11:46   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 08/23] tests/kms_lease: Use igt_crtc_t instead of enum pipe Ville Syrjala
2026-02-23 11:48   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 09/23] tests/kms_lease: Pass lease_t to prepare_crtc() Ville Syrjala
2026-02-23 11:49   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 10/23] tests/intel/kms_frontbuffer_tracking: Use igt_crtc_t instead of enum pipe Ville Syrjala
2026-02-23 11:52   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 11/23] tests/kms_plane_scaling: " Ville Syrjala
2026-02-23 14:06   ` Jani Nikula [this message]
2026-02-21  3:19 ` [PATCH i-g-t v2 12/23] tests/drm_read: " Ville Syrjala
2026-02-24  8:58   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 13/23] tests/intel/kms_psr2_sf: Convert pipes[] to crtcs[] Ville Syrjala
2026-02-24  9:09   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 14/23] tests/kms_vblank: Use igt_crtc_t instead of enum pipe Ville Syrjala
2026-02-24 13:43   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 15/23] tests/kms_plane_multiple: " Ville Syrjala
2026-02-24 13:48   ` Jani Nikula
2026-02-25  7:44     ` Ville Syrjälä
2026-02-21  3:19 ` [PATCH i-g-t v2 16/23] tests/kms_tiled_display: " Ville Syrjala
2026-02-24 13:48   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 17/23] tests/intel/kms_psr: " Ville Syrjala
2026-02-24 13:49   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 18/23] tests/kms_prime: " Ville Syrjala
2026-02-24 13:50   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 19/23] tests/chamelium: " Ville Syrjala
2026-02-24 13:51   ` Jani Nikula
2026-02-21  3:19 ` [PATCH i-g-t v2 20/23] tests/kms: Use igt_crtc_t instead of enum pipe, part 1 Ville Syrjala
2026-02-24 13:56   ` Jani Nikula
2026-02-21  3:20 ` [PATCH i-g-t v2 21/23] tests/kms: Use igt_crtc_t instead of enum pipe, part 2 Ville Syrjala
2026-02-24 13:58   ` Jani Nikula
2026-02-21  3:20 ` [PATCH i-g-t v2 22/23] tests/kms: Use igt_crtc_t instead of enum pipe, part 3 Ville Syrjala
2026-02-24  8:51   ` [PATCH i-g-t v3 " Ville Syrjala
2026-02-24 14:04     ` Jani Nikula
2026-02-21  3:20 ` [PATCH i-g-t v2 23/23] tests/kms: Use igt_crtc_t instead of enum pipe, part 4 Ville Syrjala
2026-02-24 14:06   ` Jani Nikula
2026-02-21  3:59 ` ✓ Xe.CI.BAT: success for tests/kms: More igt_crtc_t conversions (rev2) Patchwork
2026-02-21  4:13 ` ✓ i915.CI.BAT: " Patchwork
2026-02-21 16:12 ` ✗ i915.CI.Full: failure " Patchwork
2026-02-23 13:25 ` ✗ Xe.CI.FULL: " Patchwork
2026-02-24 12:43 ` ✓ Xe.CI.BAT: success for tests/kms: More igt_crtc_t conversions (rev5) Patchwork
2026-02-24 12:58 ` ✓ i915.CI.BAT: " Patchwork
2026-02-24 18:52 ` ✗ i915.CI.Full: failure " Patchwork
2026-02-24 22:57 ` ✓ Xe.CI.FULL: success " Patchwork

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=4502d0c1a0c0e4338c08a089ca1d7e5046d042ac@intel.com \
    --to=jani.nikula@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=ville.syrjala@linux.intel.com \
    /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