[PATCH i-g-t v2 0/7] benchmarks/kms_fb_stress: Test all possible combinations of formats

Arthur Grillo arthurgrillo at riseup.net
Tue Mar 5 23:15:37 UTC 2024


This is the second version of the series. After some discussion[1],
I changed how to tackle the problem.

With the upcoming addition of YUV format to VKMS[2] it would be great to
test the their performance. So, test all possible combinations of
formats.

Also, to focus in an combination subset, add command-line options to
arbitrarily select the format of each plane and writeback.

- PATCH #1: Just a non-related assert that I found needed while developing
- PATCH #2: Log the KMS structure
- PATCH #3: Moving code, should be noop
- PATCH #4 & #5: Fix a couple of bugs found while developing patch #6
- PATCH #6: Test all possible combinations
- PATCH #7: Add command-line options

[1]: https://lore.kernel.org/all/6979cd2e-2b00-4dc4-8e41-66b435cf7ea8@riseup.net/
[2]: https://lore.kernel.org/all/20240304-yuv-v4-11-76beac8e9793@bootlin.com/ 

Signed-off-by: Arthur Grillo <arthurgrillo at riseup.net>
---
Changes in v2:
- Change how the command-line options work, now they pin the specific
  format and let the other change.
- Add a patch to test all the possible formats combination
- Add a couple of patches to fix some bugs
- Move the KMS logging patch to the beginning of the series
- Move the default_kms definition to the static struct data_t variable
- Link to v1: https://lore.kernel.org/r/20240226-kms_fb_stress-dev-v1-0-1c14942b1244@riseup.net

---
Arthur Grillo (7):
      benchmarks/kms_fb_stress: Assert that we have an supported pipe
      benchmarks/kms_fb_stress: Log the KMS structure
      benchmarks/kms_fb_stress: Move the stress procedure to its own function
      benchmarks/kms_fb_stress: Free resources on the stress procedure
      benchmarks/kms_fb_stress: Don't paint the FB's if the format is DRM_FORMAT_RGB565
      benchmarks/kms_fb_stress: Test every possible format combinations
      benchmarks/kms_fb_stress: Add command line options to pin the planes or writeback formats

 benchmarks/kms_fb_stress.c | 342 ++++++++++++++++++++++++++++++++++++---------
 1 file changed, 273 insertions(+), 69 deletions(-)
---
base-commit: 32369affc1fdb8194c4e7274d1d4dfd74f4aae88
change-id: 20240226-kms_fb_stress-dev-c93ae176f901

Best regards,
-- 
Arthur Grillo <arthurgrillo at riseup.net>



More information about the igt-dev mailing list