dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] KUnit tests for RGB565 conversion
@ 2022-07-26 23:09 José Expósito
  2022-07-26 23:09 ` [PATCH v3 1/4] drm/format-helper: Fix test on big endian architectures José Expósito
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: José Expósito @ 2022-07-26 23:09 UTC (permalink / raw)
  To: javierm
  Cc: dri-devel, tzimmermann, magalilemes00, airlied, maira.canal,
	dlatypov, linux-kernel, geert, tales.aparecida, davidgow,
	José Expósito, isabbasso, kunit-dev

Hello everyone,

This series is a follow up of the XRGB8888 to RGB332 conversion KUnit
tests.

As I mentioned in v2 [1] I suspected that the inconsistency handling
the endian might need to be fixed.
Fortunately, Geert Uytterhoeven fixed it in commit 4d9db10576ff
("drm/format-helper: Fix endianness in drm_fb_*_to_*() conversion
helpers"), so I updated the tests to reflect his change.

Changes since v1:

 - Fix a bug reported by David Gow in the XRGB8888 to RGB332 tests
 - Simplify the test structure as suggested by David Gow
 - Add Tested-by Tales L. Aparecida and Acked-by Thomas Zimmermann
 - Fix link in the last patch (Thomas Zimmermann)

Changes since v2:

 - Test endian as fixed in commit 4d9db10576ff ("drm/format-helper: Fix
   endianness in drm_fb_*_to_*() conversion helpers")
 - Fix Sparse warning reported by David Gow
 - Add Reviewed-by David Gow

[1] https://lore.kernel.org/dri-devel/20220709115837.560877-1-jose.exposito89@gmail.com/

José Expósito (4):
  drm/format-helper: Fix test on big endian architectures
  drm/format-helper: Rename test cases to make them more generic
  drm/format-helper: Support multiple target formats results
  drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb565()

 .../gpu/drm/tests/drm_format_helper_test.c    | 169 ++++++++++++++----
 1 file changed, 139 insertions(+), 30 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-07-28 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 23:09 [PATCH v3 0/4] KUnit tests for RGB565 conversion José Expósito
2022-07-26 23:09 ` [PATCH v3 1/4] drm/format-helper: Fix test on big endian architectures José Expósito
2022-07-26 23:09 ` [PATCH v3 2/4] drm/format-helper: Rename test cases to make them more generic José Expósito
2022-07-26 23:09 ` [PATCH v3 3/4] drm/format-helper: Support multiple target formats results José Expósito
2022-07-26 23:09 ` [PATCH v3 4/4] drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb565() José Expósito
2022-07-28 17:51 ` [PATCH v3 0/4] KUnit tests for RGB565 conversion José Expósito

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).