Skip to content

drm/tests: Update format-helper tests for sysfb

Thomas Zimmermann dri-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 4 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- rename symbols (José)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/tests: Do not use drm_fb_blit() in format-helper testsdrivers/gpu/drm/drm_format_helper.c drivers/gpu/drm/drm_format_internal.h drivers/gpu/drm/tests/drm_format_helper_test.c +1 more+131 -1020 replies
2/3drm/tests: Test drm_fb_build_fourcc_list() in separate test suitedrivers/gpu/drm/tests/Makefile drivers/gpu/drm/tests/drm_format_helper_test.c drivers/gpu/drm/tests/drm_sysfb_modeset_test.c+168 -1430 replies
3/3drm/format-helper: Move drm_fb_build_fourcc_list() to sysfb helpersdrivers/gpu/drm/Kconfig.debug drivers/gpu/drm/drm_format_helper.c drivers/gpu/drm/sysfb/drm_sysfb_helper.h +7 more+164 -1630 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJosé ExpósitoMaxime RipardJavier Martinez Canillas
1/3R-b A-b
2/3R-b A-b
3/3R-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] drm/tests: Update format-helper tests for sysfb

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.

v3:
- rename symbols (José)
v2:
- fix test filename (Maxime)
- fix dependencies (kernel test robot)

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/Kconfig.debug                 |   1 +
 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 ++----------------
 .../gpu/drm/tests/drm_sysfb_modeset_test.c    | 168 ++++++++++++
 include/drm/drm_format_helper.h               |  13 +-
 13 files changed, 452 insertions(+), 397 deletions(-)
 create mode 100644 drivers/gpu/drm/tests/drm_sysfb_modeset_test.c
Signature · 1 line
2.49.0