Message ID | 20220726230916.390575-1-jose.exposito89@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | KUnit tests for RGB565 conversion | expand |
On Wed, Jul 27, 2022 at 01:09:12AM +0200, José Expósito wrote: > 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 > As suggested by Thomas [1] I pushed the series to drm-misc-next. I've found some conflicts in drm-tip in unreleated files I'm trying to figure out on IRC though :( Jose [1] https://lore.kernel.org/dri-devel/4ba57f80-5025-c3a0-5f65-ec52643f0122@suse.de/