public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 00/16] igt: clean up typedef usage, use for_each_output() more
Date: Tue, 14 Apr 2026 17:08:46 +0300	[thread overview]
Message-ID: <ad5KbvOAgWfOiyG6@intel.com> (raw)
In-Reply-To: <cover.1776150714.git.jani.nikula@intel.com>

On Tue, Apr 14, 2026 at 10:14:20AM +0300, Jani Nikula wrote:
> This series spiraled into a few things:
> 
> - use typedefs like igt_foo_t more consistently instead of struct
>   igt_foo

I'm not a huge fan of the typedefs but getting rid of them now
would involve a gargantuan patch. So best to just accept them
I guess.

Series is
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

>  
> - rename the structs to have underscore prefix to discourage usage like
>   struct _igt_foo
> 
> - convert open coded output loops to use for_each_output()
> 
> BR,
> Jani.
> 
> Jani Nikula (16):
>   tests: prefer igt_plane_t over struct igt_plane
>   lib/kms: rename struct igt_plane to _igt_plane
>   tests: prefer igt_display_t over struct igt_display
>   lib/kms: rename struct igt_display to _igt_display
>   lib/kms: rename struct igt_crtc to _igt_crtc
>   lib/kms: drop struct igt_colorop definition
>   tests/amdgpu/amd_abm: use for_each_output()
>   tests/amdgpu/amd_hotplug: use for_each_output()
>   tests/amdgpu/amd_subvp: use for_each_output()
>   tests/amdgpu/amd_dp_dsc: use for_each_output()
>   tests/amdgpu/amd_plane: use for_each_output()
>   tests/kms_atomic_transition: use for_each_output()
>   tests/kms_colorop: use for_each_output()
>   tests/kms_content_protection: use for_each_output()
>   tests/kms_getfb: use for_each_output()
>   tests/kms_writeback: use for_each_output()
> 
>  lib/igt_kms.c                           |  2 +-
>  lib/igt_kms.h                           | 16 ++++++++--------
>  tests/amdgpu/amd_abm.c                  |  8 ++++----
>  tests/amdgpu/amd_dp_dsc.c               | 10 ++++++----
>  tests/amdgpu/amd_hotplug.c              |  8 +++++---
>  tests/amdgpu/amd_plane.c                |  8 +++++---
>  tests/amdgpu/amd_subvp.c                |  9 +++++----
>  tests/intel/kms_dp_link_training.c      |  4 ++--
>  tests/intel/kms_dp_linktrain_fallback.c | 12 ++++++------
>  tests/kms_atomic_transition.c           |  6 +++---
>  tests/kms_colorop.c                     |  6 ++----
>  tests/kms_content_protection.c          |  6 +++---
>  tests/kms_getfb.c                       | 13 +++++++------
>  tests/kms_writeback.c                   | 10 ++++------
>  14 files changed, 61 insertions(+), 57 deletions(-)
> 
> -- 
> 2.47.3

-- 
Ville Syrjälä
Intel

  parent reply	other threads:[~2026-04-14 14:09 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-14  7:14 [PATCH i-g-t 00/16] igt: clean up typedef usage, use for_each_output() more Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 01/16] tests: prefer igt_plane_t over struct igt_plane Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 02/16] lib/kms: rename struct igt_plane to _igt_plane Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 03/16] tests: prefer igt_display_t over struct igt_display Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 04/16] lib/kms: rename struct igt_display to _igt_display Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 05/16] lib/kms: rename struct igt_crtc to _igt_crtc Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 06/16] lib/kms: drop struct igt_colorop definition Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 07/16] tests/amdgpu/amd_abm: use for_each_output() Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 08/16] tests/amdgpu/amd_hotplug: " Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 09/16] tests/amdgpu/amd_subvp: " Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 10/16] tests/amdgpu/amd_dp_dsc: " Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 11/16] tests/amdgpu/amd_plane: " Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 12/16] tests/kms_atomic_transition: " Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 13/16] tests/kms_colorop: " Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 14/16] tests/kms_content_protection: " Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 15/16] tests/kms_getfb: " Jani Nikula
2026-04-14  7:14 ` [PATCH i-g-t 16/16] tests/kms_writeback: " Jani Nikula
2026-04-14  9:59 ` ✓ Xe.CI.BAT: success for igt: clean up typedef usage, use for_each_output() more Patchwork
2026-04-14 10:14 ` ✓ i915.CI.BAT: " Patchwork
2026-04-14 11:11 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-14 14:08 ` Ville Syrjälä [this message]
2026-04-14 15:51   ` [PATCH i-g-t 00/16] " Jani Nikula
2026-04-14 16:09     ` Ville Syrjälä
2026-04-14 16:47 ` ✓ i915.CI.Full: success for " 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=ad5KbvOAgWfOiyG6@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jani.nikula@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