All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono()
@ 2023-03-11 12:51 Arthur Grillo
  2023-03-11 12:51 ` [PATCH v3 1/2] " Arthur Grillo
  2023-03-11 12:51 ` [PATCH v3 2/2] drm/format-helper: Make "destination_pitch" test case usable for the monochrome case Arthur Grillo
  0 siblings, 2 replies; 7+ messages in thread
From: Arthur Grillo @ 2023-03-11 12:51 UTC (permalink / raw)
  To: dri-devel
  Cc: davidgow, tales.aparecida, javierm, mairacanal, tzimmermann,
	jose.exposito89, andrealmeid, Arthur Grillo

This patchset aims to insert a unit test for the conversion from
XRGB8888 to monochromatic.

Previously this was a single patch, but as the changes grew from v1 to
v2, I thought it would be better to split it in two.

Thanks for reviewing!

Best regards,
~Arthur Grillo

---

v1->v2: https://lore.kernel.org/all/20230302200131.754154-1-arthurgrillo@riseup.net/
- Remove extra helper an use the existing one that Javier patched [1].
- Make the expected results more intuitive by using the BIT macro.
- Change the "destination_pitch" test case colors.

v2->v3: https://lore.kernel.org/all/20230310200901.216971-1-arthurgrillo@riseup.net/
- Use binary constants instead of the BIT macros, to suppress a
  warning pointed out by the kernel bot and still maintain the
  intuitive intention.

---

[1]: https://lore.kernel.org/all/20230307215039.346863-1-javierm@redhat.com/

---

Arthur Grillo (2):
  drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono()
  drm/format-helper: Make "destination_pitch" test case usable for the
    monochrome case

 .../gpu/drm/tests/drm_format_helper_test.c    | 134 +++++++++++++-----
 1 file changed, 98 insertions(+), 36 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-03-16 20:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-11 12:51 [PATCH v3 0/2] drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono() Arthur Grillo
2023-03-11 12:51 ` [PATCH v3 1/2] " Arthur Grillo
2023-03-14 19:08   ` Javier Martinez Canillas
2023-03-14 22:17     ` Arthur Grillo Queiroz Cabral
2023-03-16 20:04       ` Javier Martinez Canillas
2023-03-11 12:51 ` [PATCH v3 2/2] drm/format-helper: Make "destination_pitch" test case usable for the monochrome case Arthur Grillo
2023-03-14 19:11   ` Javier Martinez Canillas

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.