]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/tests: Do not use drm_fb_blit() in format-helper tests
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 16 Jun 2025 08:37:04 +0000 (10:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:43 +0000 (16:34 +0200)
commitc7f57093c5fb4a792397a5906094464f7dd38617
treea530d60de8de3e4b5946c3b85053648fe422267d
parent832b77ffd64f25f403cf5c6b3e6bfbcead89839f
drm/tests: Do not use drm_fb_blit() in format-helper tests

[ Upstream commit 5a4856e0e38109ba994f369962f054ecb445c098 ]

Export additional helpers from the format-helper library and open-code
drm_fb_blit() in tests. Prepares for the removal of drm_fb_blit(). Only
sysfb drivers use drm_fb_blit(). The function will soon be removed from
format helpers and be refactored within sysfb helpers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: José Expósito <jose.exposito89@gmail.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20250616083846.221396-2-tzimmermann@suse.de
Stable-dep-of: 05663d88fd0b ("drm/tests: Fix drm_test_fb_xrgb8888_to_xrgb2101010() on big-endian")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_format_helper.c
drivers/gpu/drm/drm_format_internal.h
drivers/gpu/drm/tests/drm_format_helper_test.c
include/drm/drm_format_helper.h