Skip to content

drm: revert some framebuffer API tests

Jani Nikula dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "drm/tests: Add test for drm_framebuffer_free()"drivers/gpu/drm/drm_mode_object.c drivers/gpu/drm/tests/drm_framebuffer_test.c+0 -510 replies
2/2Revert "drm/tests: Add test for drm_framebuffer_init()"drivers/gpu/drm/drm_framebuffer.c drivers/gpu/drm/tests/drm_framebuffer_test.c+0 -850 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimona Vetter
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] drm: revert some framebuffer API tests

The tests consistently trigger WARNs in drm_framebuffer code. I'm not sure what the point is with type of belts and suspenders tests. The warnings *are* the way to flag erroneous API usage.

Warnings in turn trigger failures in CI. Filtering the warnings are error prone, and, crucially, would also filter actual errors in case the kunit tests are not run.

I acknowledge there may be complex test cases where you'd end up triggering warnings somewhere deep, but these are not it. These are simple.

Revert the tests, back to the drawing board.

BR,
Jani.

Cc Carlos Eduardo Gallo Filho <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Jeff Johnson <[email protected]>

Jani Nikula (2):
Revert "drm/tests: Add test for drm_framebuffer_free()" Revert "drm/tests: Add test for drm_framebuffer_init()"

 drivers/gpu/drm/drm_framebuffer.c            |   1 -
 drivers/gpu/drm/drm_mode_object.c            |   1 -
 drivers/gpu/drm/tests/drm_framebuffer_test.c | 134 -------------------
 3 files changed, 136 deletions(-)
Signature · 1 line
2.39.2