[PATCH 0/3] drm/tests: Update format-helper tests for sysfb
Thomas Zimmermann
tzimmermann at suse.de
Wed Jun 4 15:45:41 UTC 2025
The helpers drm_fb_blit() and drm_fb_build_fourcc_list() will be
integrated into sysfb helpers. Update the DRM format-helper tests
accordingly in patches 1 and 2.
The change to drm_fb_build_fourcc_list() is simple enough that we
can apply it here in patch 3.
Thomas Zimmermann (3):
drm/tests: Do not use drm_fb_blit() in format-helper tests
drm/tests: Test drm_fb_build_fourcc_list() in separate test suite
drm/format-helper: Move drm_fb_build_fourcc_list() to sysfb helpers
drivers/gpu/drm/drm_format_helper.c | 246 +++++++----------
drivers/gpu/drm/drm_format_internal.h | 8 +
drivers/gpu/drm/sysfb/drm_sysfb_helper.h | 4 +
drivers/gpu/drm/sysfb/drm_sysfb_modeset.c | 138 ++++++++++
drivers/gpu/drm/sysfb/efidrm.c | 4 +-
drivers/gpu/drm/sysfb/ofdrm.c | 5 +-
drivers/gpu/drm/sysfb/simpledrm.c | 5 +-
drivers/gpu/drm/sysfb/vesadrm.c | 4 +-
drivers/gpu/drm/tests/Makefile | 3 +-
.../gpu/drm/tests/drm_format_helper_test.c | 250 ++----------------
drivers/gpu/drm/tests/drm_sysfb_helper_test.c | 167 ++++++++++++
include/drm/drm_format_helper.h | 13 +-
12 files changed, 450 insertions(+), 397 deletions(-)
create mode 100644 drivers/gpu/drm/tests/drm_sysfb_helper_test.c
--
2.49.0
More information about the dri-devel
mailing list