public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] tests/kms_writeback: fix coding style issues
@ 2026-04-08 23:02 Alex Hung
  2026-04-09  8:06 ` Kandpal, Suraj
  2026-04-09 22:35 ` ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 4+ messages in thread
From: Alex Hung @ 2026-04-08 23:02 UTC (permalink / raw)
  To: igt-dev; +Cc: harry.wentland, alex.hung, aurabindo.pillai

Fix missing spaces after comma in two igt_skip_on_f() calls and
in the writeback-invalid-parameters subtest description strings.

Signed-off-by: Alex Hung <alex.hung@amd.com>
---
 tests/kms_writeback.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c
index f15abba96..5031fcb83 100644
--- a/tests/kms_writeback.c
+++ b/tests/kms_writeback.c
@@ -58,8 +58,8 @@
  * Description: Validate WRITEBACK_FB_ID with valid and invalid options
  *
  * SUBTEST: writeback-invalid-parameters
- * Description: Writeback has a couple of parameters linked together(output
- *              framebuffer and fence); this test goes throughthe combination
+ * Description: Writeback has a couple of parameters linked together (output
+ *              framebuffer and fence); this test goes through the combination
  *              of possible bad options
  *
  * SUBTEST: writeback-pixel-formats
@@ -620,8 +620,8 @@ int igt_main_args("b:c:f:dl", long_options, help_str, opt_handler, NULL)
 		drmModeFreePropertyBlob(formats_blob);
 	}
 
-	igt_describe("Writeback has a couple of parameters linked together"
-		     "(output framebuffer and fence); this test goes through"
+	igt_describe("Writeback has a couple of parameters linked together "
+		     "(output framebuffer and fence); this test goes through "
 		     "the combination of possible bad options");
 	igt_subtest("writeback-invalid-parameters") {
 		igt_fb_t invalid_output_fb;
@@ -644,7 +644,7 @@ int igt_main_args("b:c:f:dl", long_options, help_str, opt_handler, NULL)
 		igt_fb_t output_fb;
 
 		igt_skip_on(data.dump_check || data.list_modes);
-		igt_skip_on_f(!(data.supported_colors & XRGB8888),"DRM_FORMAT_XRGB8888 is unsupported\n");
+		igt_skip_on_f(!(data.supported_colors & XRGB8888), "DRM_FORMAT_XRGB8888 is unsupported\n");
 		fb_id = igt_create_fb(display.drm_fd, mode.hdisplay, mode.vdisplay,
 				      DRM_FORMAT_XRGB8888,
 				      DRM_FORMAT_MOD_LINEAR,
@@ -678,7 +678,7 @@ int igt_main_args("b:c:f:dl", long_options, help_str, opt_handler, NULL)
 		igt_fb_t output_fb;
 
 		igt_skip_on(data.dump_check || data.list_modes);
-		igt_skip_on_f(!(data.supported_colors & XRGB8888),"DRM_FORMAT_XRGB8888 is unsupported\n");
+		igt_skip_on_f(!(data.supported_colors & XRGB8888), "DRM_FORMAT_XRGB8888 is unsupported\n");
 		fb_id = igt_create_fb(display.drm_fd, mode.hdisplay, mode.vdisplay,
 				      DRM_FORMAT_XRGB8888,
 				      igt_fb_mod_to_tiling(0),
-- 
2.43.0


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

* RE: [PATCH] tests/kms_writeback: fix coding style issues
  2026-04-08 23:02 [PATCH] tests/kms_writeback: fix coding style issues Alex Hung
@ 2026-04-09  8:06 ` Kandpal, Suraj
  2026-04-09 13:40   ` Kamil Konieczny
  2026-04-09 22:35 ` ✗ Fi.CI.BAT: failure for " Patchwork
  1 sibling, 1 reply; 4+ messages in thread
From: Kandpal, Suraj @ 2026-04-09  8:06 UTC (permalink / raw)
  To: Alex Hung, igt-dev@lists.freedesktop.org
  Cc: harry.wentland@amd.com, aurabindo.pillai@amd.com

> Subject: [PATCH] tests/kms_writeback: fix coding style issues
> 
> Fix missing spaces after comma in two igt_skip_on_f() calls and in the
> writeback-invalid-parameters subtest description strings.
> 
> Signed-off-by: Alex Hung <alex.hung@amd.com>

LGTM,
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>

> ---
>  tests/kms_writeback.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c index
> f15abba96..5031fcb83 100644
> --- a/tests/kms_writeback.c
> +++ b/tests/kms_writeback.c
> @@ -58,8 +58,8 @@
>   * Description: Validate WRITEBACK_FB_ID with valid and invalid options
>   *
>   * SUBTEST: writeback-invalid-parameters
> - * Description: Writeback has a couple of parameters linked together(output
> - *              framebuffer and fence); this test goes throughthe combination
> + * Description: Writeback has a couple of parameters linked together (output
> + *              framebuffer and fence); this test goes through the combination
>   *              of possible bad options
>   *
>   * SUBTEST: writeback-pixel-formats
> @@ -620,8 +620,8 @@ int igt_main_args("b:c:f:dl", long_options, help_str,
> opt_handler, NULL)
>  		drmModeFreePropertyBlob(formats_blob);
>  	}
> 
> -	igt_describe("Writeback has a couple of parameters linked together"
> -		     "(output framebuffer and fence); this test goes through"
> +	igt_describe("Writeback has a couple of parameters linked together "
> +		     "(output framebuffer and fence); this test goes through "
>  		     "the combination of possible bad options");
>  	igt_subtest("writeback-invalid-parameters") {
>  		igt_fb_t invalid_output_fb;
> @@ -644,7 +644,7 @@ int igt_main_args("b:c:f:dl", long_options, help_str,
> opt_handler, NULL)
>  		igt_fb_t output_fb;
> 
>  		igt_skip_on(data.dump_check || data.list_modes);
> -		igt_skip_on_f(!(data.supported_colors &
> XRGB8888),"DRM_FORMAT_XRGB8888 is unsupported\n");
> +		igt_skip_on_f(!(data.supported_colors & XRGB8888),
> +"DRM_FORMAT_XRGB8888 is unsupported\n");
>  		fb_id = igt_create_fb(display.drm_fd, mode.hdisplay,
> mode.vdisplay,
>  				      DRM_FORMAT_XRGB8888,
>  				      DRM_FORMAT_MOD_LINEAR,
> @@ -678,7 +678,7 @@ int igt_main_args("b:c:f:dl", long_options, help_str,
> opt_handler, NULL)
>  		igt_fb_t output_fb;
> 
>  		igt_skip_on(data.dump_check || data.list_modes);
> -		igt_skip_on_f(!(data.supported_colors &
> XRGB8888),"DRM_FORMAT_XRGB8888 is unsupported\n");
> +		igt_skip_on_f(!(data.supported_colors & XRGB8888),
> +"DRM_FORMAT_XRGB8888 is unsupported\n");
>  		fb_id = igt_create_fb(display.drm_fd, mode.hdisplay,
> mode.vdisplay,
>  				      DRM_FORMAT_XRGB8888,
>  				      igt_fb_mod_to_tiling(0),
> --
> 2.43.0


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

* Re: [PATCH] tests/kms_writeback: fix coding style issues
  2026-04-09  8:06 ` Kandpal, Suraj
@ 2026-04-09 13:40   ` Kamil Konieczny
  0 siblings, 0 replies; 4+ messages in thread
From: Kamil Konieczny @ 2026-04-09 13:40 UTC (permalink / raw)
  To: Kandpal, Suraj
  Cc: Alex Hung, igt-dev@lists.freedesktop.org, harry.wentland@amd.com,
	aurabindo.pillai@amd.com

Hi Kandpal,,
On 2026-04-09 at 08:06:17 +0000, Kandpal, Suraj wrote:
> > Subject: [PATCH] tests/kms_writeback: fix coding style issues
> > 
> > Fix missing spaces after comma in two igt_skip_on_f() calls and in the
> > writeback-invalid-parameters subtest description strings.
> > 
> > Signed-off-by: Alex Hung <alex.hung@amd.com>
> 
> LGTM,
> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
> 

Thank you all, pushed.

Regards,
Kamil

> > ---
> >  tests/kms_writeback.c | 12 ++++++------
> >  1 file changed, 6 insertions(+), 6 deletions(-)
> > 
> > diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c index
> > f15abba96..5031fcb83 100644
> > --- a/tests/kms_writeback.c
> > +++ b/tests/kms_writeback.c
> > @@ -58,8 +58,8 @@
> >   * Description: Validate WRITEBACK_FB_ID with valid and invalid options
> >   *
> >   * SUBTEST: writeback-invalid-parameters
> > - * Description: Writeback has a couple of parameters linked together(output
> > - *              framebuffer and fence); this test goes throughthe combination
> > + * Description: Writeback has a couple of parameters linked together (output
> > + *              framebuffer and fence); this test goes through the combination
> >   *              of possible bad options
> >   *
> >   * SUBTEST: writeback-pixel-formats
> > @@ -620,8 +620,8 @@ int igt_main_args("b:c:f:dl", long_options, help_str,
> > opt_handler, NULL)
> >  		drmModeFreePropertyBlob(formats_blob);
> >  	}
> > 
> > -	igt_describe("Writeback has a couple of parameters linked together"
> > -		     "(output framebuffer and fence); this test goes through"
> > +	igt_describe("Writeback has a couple of parameters linked together "
> > +		     "(output framebuffer and fence); this test goes through "
> >  		     "the combination of possible bad options");
> >  	igt_subtest("writeback-invalid-parameters") {
> >  		igt_fb_t invalid_output_fb;
> > @@ -644,7 +644,7 @@ int igt_main_args("b:c:f:dl", long_options, help_str,
> > opt_handler, NULL)
> >  		igt_fb_t output_fb;
> > 
> >  		igt_skip_on(data.dump_check || data.list_modes);
> > -		igt_skip_on_f(!(data.supported_colors &
> > XRGB8888),"DRM_FORMAT_XRGB8888 is unsupported\n");
> > +		igt_skip_on_f(!(data.supported_colors & XRGB8888),
> > +"DRM_FORMAT_XRGB8888 is unsupported\n");
> >  		fb_id = igt_create_fb(display.drm_fd, mode.hdisplay,
> > mode.vdisplay,
> >  				      DRM_FORMAT_XRGB8888,
> >  				      DRM_FORMAT_MOD_LINEAR,
> > @@ -678,7 +678,7 @@ int igt_main_args("b:c:f:dl", long_options, help_str,
> > opt_handler, NULL)
> >  		igt_fb_t output_fb;
> > 
> >  		igt_skip_on(data.dump_check || data.list_modes);
> > -		igt_skip_on_f(!(data.supported_colors &
> > XRGB8888),"DRM_FORMAT_XRGB8888 is unsupported\n");
> > +		igt_skip_on_f(!(data.supported_colors & XRGB8888),
> > +"DRM_FORMAT_XRGB8888 is unsupported\n");
> >  		fb_id = igt_create_fb(display.drm_fd, mode.hdisplay,
> > mode.vdisplay,
> >  				      DRM_FORMAT_XRGB8888,
> >  				      igt_fb_mod_to_tiling(0),
> > --
> > 2.43.0
> 

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

* ✗ Fi.CI.BAT: failure for tests/kms_writeback: fix coding style issues
  2026-04-08 23:02 [PATCH] tests/kms_writeback: fix coding style issues Alex Hung
  2026-04-09  8:06 ` Kandpal, Suraj
@ 2026-04-09 22:35 ` Patchwork
  1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2026-04-09 22:35 UTC (permalink / raw)
  To: Alex Hung; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

== Series Details ==

Series: tests/kms_writeback: fix coding style issues
URL   : https://patchwork.freedesktop.org/series/164575/
State : failure

== Summary ==

Series 164575 revision 1 was fully merged or fully failed: no git log



[-- Attachment #2: Type: text/html, Size: 705 bytes --]

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

end of thread, other threads:[~2026-04-09 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-08 23:02 [PATCH] tests/kms_writeback: fix coding style issues Alex Hung
2026-04-09  8:06 ` Kandpal, Suraj
2026-04-09 13:40   ` Kamil Konieczny
2026-04-09 22:35 ` ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox