[PATCH 1/3] drm/tests: Do not use drm_fb_blit() in format-helper tests

Maxime Ripard mripard at kernel.org
Fri Jun 6 07:41:13 UTC 2025


On Wed, Jun 04, 2025 at 05:45:42PM +0200, Thomas Zimmermann wrote:
> 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 at suse.de>

Alternatively, we have VISIBLE_IF_KUNIT and EXPORT_SYMBOL_IF_KUNIT, or
EXPORT_SYMBOL_FOR_TESTS_ONLY if you don't want to make it part of the
API.

Either way,

Acked-by: Maxime Ripard <mripard at kernel.org>

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250606/d319ead9/attachment.sig>


More information about the dri-devel mailing list