All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 00/25] lib/kms: Clean up format+mod stuff
@ 2026-05-12 12:21 Ville Syrjala
  2026-05-12 12:21 ` [PATCH i-g-t 01/25] tests/kms_async_flips: Use correct format_mod list Ville Syrjala
                   ` (31 more replies)
  0 siblings, 32 replies; 43+ messages in thread
From: Ville Syrjala @ 2026-05-12 12:21 UTC (permalink / raw)
  To: igt-dev

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Abstract the format+modifier lists a bit to make things less
mess and fragile.

Also try to get rid of more special cases in tests by always
populating the async flip format+mod lists, even if the driver
doesn't expose the actual IN_FORMATS_ASYNC blob.

Ville Syrjälä (25):
  tests/kms_async_flips: Use correct format_mod list
  test/kms: Introduce a few extra format/modifier variables
  lib/kms: Introduce struct igt_format_mods
  lib/kms: Pass struct igt_format_mods to igt_parse_format_mod_blob()
  lib/kms: Extract format_mods_alloc()
  lib/kms: Extract fill_plane_default_format_mods()
  lib/kms: Extract igt_format_mods_has_format_with_modifier()
  lib/kms: Pass target format_mods to igt_add_display_format_mod()
  lib/kms: Extract format_mods_union()
  lib/kms: Extract display_format_mods_union()
  lib/kms: Move and rename igt_count_display_format_mod()
  lib/kms: Make igt_fill_display_format_mod() more flexible
  lib/kms: Add display->format_mods_async
  lib/kms: Fill plane->format_mods_async for planes without IN_FORMATS
  lib/kms: Encourage drivers to expose IN_FORMATS_ASYNC
  lib/kms: Introduce igt_format_mods iterators
  lib/kms: Add helpers to query igt_format_mods
  tests/chamelium/kms_chamelium_frames: Use
    for_each_format_and_modifier()
  tests/kms_plane: Use igt_format_mods_has_modifier()
  tests/kms_plane: Use for_each_format_and_modifier()
  tests/kms_async_flips: Remove the IN_FORMAT_ASYNC check
  tests/kms_async_flips: Use igt_format_mods_has_modifier()
  tests/kms_async_flips: Use for_each_format_and_modifier() and 
    for_each_modifier_with_format()
  tests/intel/kms_flip_tiling: Use for_each_modifier_with_format()
  tests/chamelium/kms_chamelium_frames: Use
    for_each_format_with_modifier()

 lib/igt_kms.c                          | 248 ++++++++++++++++---------
 lib/igt_kms.h                          |  68 ++++++-
 tests/chamelium/kms_chamelium_frames.c |  54 +++---
 tests/intel/kms_flip_tiling.c          |  22 +--
 tests/kms_async_flips.c                |  52 ++----
 tests/kms_plane.c                      |  30 +--
 6 files changed, 280 insertions(+), 194 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-05-14  5:19 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 12:21 [PATCH i-g-t 00/25] lib/kms: Clean up format+mod stuff Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 01/25] tests/kms_async_flips: Use correct format_mod list Ville Syrjala
2026-05-13  5:12   ` B, Jeevan
2026-05-12 12:21 ` [PATCH i-g-t 02/25] test/kms: Introduce a few extra format/modifier variables Ville Syrjala
2026-05-13  5:17   ` B, Jeevan
2026-05-12 12:21 ` [PATCH i-g-t 03/25] lib/kms: Introduce struct igt_format_mods Ville Syrjala
2026-05-13  5:23   ` B, Jeevan
2026-05-12 12:21 ` [PATCH i-g-t 04/25] lib/kms: Pass struct igt_format_mods to igt_parse_format_mod_blob() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 05/25] lib/kms: Extract format_mods_alloc() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 06/25] lib/kms: Extract fill_plane_default_format_mods() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 07/25] lib/kms: Extract igt_format_mods_has_format_with_modifier() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 08/25] lib/kms: Pass target format_mods to igt_add_display_format_mod() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 09/25] lib/kms: Extract format_mods_union() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 10/25] lib/kms: Extract display_format_mods_union() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 11/25] lib/kms: Move and rename igt_count_display_format_mod() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 12/25] lib/kms: Make igt_fill_display_format_mod() more flexible Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 13/25] lib/kms: Add display->format_mods_async Ville Syrjala
2026-05-14  4:35   ` Reddy Guddati, Santhosh
2026-05-12 12:21 ` [PATCH i-g-t 14/25] lib/kms: Fill plane->format_mods_async for planes without IN_FORMATS Ville Syrjala
2026-05-14  4:59   ` Reddy Guddati, Santhosh
2026-05-12 12:21 ` [PATCH i-g-t 15/25] lib/kms: Encourage drivers to expose IN_FORMATS_ASYNC Ville Syrjala
2026-05-14  5:15   ` Reddy Guddati, Santhosh
2026-05-12 12:21 ` [PATCH i-g-t 16/25] lib/kms: Introduce igt_format_mods iterators Ville Syrjala
2026-05-13  3:17   ` [PATCH i-g-t v2 " Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 17/25] lib/kms: Add helpers to query igt_format_mods Ville Syrjala
2026-05-13  3:17   ` [PATCH i-g-t v2 " Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 18/25] tests/chamelium/kms_chamelium_frames: Use for_each_format_and_modifier() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 19/25] tests/kms_plane: Use igt_format_mods_has_modifier() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 20/25] tests/kms_plane: Use for_each_format_and_modifier() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 21/25] tests/kms_async_flips: Remove the IN_FORMAT_ASYNC check Ville Syrjala
2026-05-14  5:18   ` Reddy Guddati, Santhosh
2026-05-12 12:21 ` [PATCH i-g-t 22/25] tests/kms_async_flips: Use igt_format_mods_has_modifier() Ville Syrjala
2026-05-14  4:27   ` Reddy Guddati, Santhosh
2026-05-12 12:21 ` [PATCH i-g-t 23/25] tests/kms_async_flips: Use for_each_format_and_modifier() and for_each_modifier_with_format() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 24/25] tests/intel/kms_flip_tiling: Use for_each_modifier_with_format() Ville Syrjala
2026-05-12 12:21 ` [PATCH i-g-t 25/25] tests/chamelium/kms_chamelium_frames: Use for_each_format_with_modifier() Ville Syrjala
2026-05-12 22:00 ` ✗ i915.CI.BAT: failure for lib/kms: Clean up format+mod stuff Patchwork
2026-05-13  0:10 ` ✗ Xe.CI.BAT: " Patchwork
2026-05-13  4:25 ` ✓ i915.CI.BAT: success for lib/kms: Clean up format+mod stuff (rev3) Patchwork
2026-05-13  4:34 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-13 17:00 ` ✗ Xe.CI.FULL: failure for lib/kms: Clean up format+mod stuff Patchwork
2026-05-14  0:12 ` ✗ Xe.CI.FULL: failure for lib/kms: Clean up format+mod stuff (rev3) Patchwork
2026-05-14  2:27 ` ✗ i915.CI.Full: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.