Skip to content

Add wrappers for painting test patterns to

Karthik B S igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 7 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/igt_fb: Add wrappers for painting test patterns to framebufferslib/igt_fb.c lib/igt_fb.h+47 -90 replies
2/4tests/intel/kms_mmap_write_crc: Use lib function to paint fbtests/intel/kms_mmap_write_crc.c+2 -70 replies
3/4tests/kms_hdr: Use lib function to paint fbtests/kms_hdr.c+1 -60 replies
4/4tests/amdgpu/amd_assr: Use lib function to paint fbtests/amdgpu/amd_assr.c+1 -40 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJeevan B
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH i-g-t v3 0/4] Add wrappers for painting test patterns to

Several tests manually create a cairo context, optionally fill a background color, paint the standard IGT test pattern, and then destroy the context.

This series adds helper functions and replace the existing stand alone calls in test binaries to avoid code duplication and improve readability.

Cc Kamil Konieczny <[email protected]>

Karthik B S (4):
lib/igt_fb: Add wrappers for painting test patterns to framebuffers tests/intel/kms_mmap_write_crc: Use lib function to paint fb tests/kms_hdr: Use lib function to paint fb tests/amdgpu/amd_assr: Use lib function to paint fb

 lib/igt_fb.c                     | 53 ++++++++++++++++++++++++++------
 lib/igt_fb.h                     |  3 ++
 tests/amdgpu/amd_assr.c          |  5 +--
 tests/intel/kms_mmap_write_crc.c |  9 ++----
 tests/kms_hdr.c                  |  7 +----
 5 files changed, 51 insertions(+), 26 deletions(-)
Signature · 1 line
2.43.0