Increase coverage on drm_framebuffer.c
Status from this message: Applied to misc/kernel.git (drm-misc-next).
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest posting 2/29 patches 5 repliesApplied
- v4 posting 1/29 patches 0 repliesSuperseded
- v39 patches 10 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 11 patches | 9 replies | Superseded | |
| v1 | 9 of 10 patches | 18 replies | Superseded |
v3 from the cover letter
- Drop drm_mode_addfb2 and drm_fb_release tests (patches 10 and 11 from v2)
---
Patches in v4 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | drm/tests: Stop using deprecated dev_private member on drm_framebuffer testsdrivers/ | +38 | 0 replies | |
| 2/9 | drm/tests: Add parameters to the drm_test_framebuffer_create testdrivers/ | +27 | 0 replies | |
| 3/9 | drm/tests: Replace strcpy to strscpy on drm_test_framebuffer_create testdrivers/ | +1 | 0 replies | |
| 4/9 | drm/tests: Add test case for drm_internal_framebuffer_create()drivers/ | +24 | 0 replies | |
| 5/9 | drm/tests: Add test for drm_framebuffer_check_src_coords()drivers/ drivers/ | +62 | 0 replies | |
| 6/9 | drm/tests: Add test for drm_framebuffer_cleanup()drivers/ | +32 | 0 replies | |
| 7/9 | drm/tests: Add test for drm_framebuffer_lookup()drivers/ | +41 | 0 replies | |
| 8/9 | drm/tests: Add test for drm_framebuffer_init()drivers/ drivers/ | +85 | 1 reply | |
| 9/9 | drm/tests: Add test for drm_framebuffer_free()drivers/ drivers/ | +51 | 0 replies |
Reviews trailers per patch
7 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Maxime Ripard |
|---|---|
| 1/9 | A-b |
| 2/9 | A-b |
| 3/9 | A-b |
| 4/9 | |
| 5/9 | A-b |
| 6/9 | A-b |
| 7/9 | A-b |
| 8/9 | |
| 9/9 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 RESEND 0/9] Increase coverage on drm_framebuffer.c
This patchset includes new KUnit tests for 5 untested functions from drm_framebuffer.c and improvements to the existent one.
The first patch replace the use of dev_private member from drm_device mock on the existent test by embedding it into an outer struct containing a generic pointer.
The patches 2 and 4 extends the test of drm_internal_framebuffer_create() by creating a new test case and adding new parameters to the existent case.
The patch 3 just replace a strcpy() call to strscpy().
Finally, the remainder of this set contains 5 new test cases, one for each of the follow functions:
- drm_framebuffer_check_src_coords()
- drm_framebuffer_cleanup()
- drm_framebuffer_lookup()
- drm_framebuffer_init()
- drm_framebuffer_free()
---
v3:
- Drop drm_mode_addfb2 and drm_fb_release tests (patches 10 and 11 from v2)
---
Carlos Eduardo Gallo Filho (9):
drm/tests: Stop using deprecated dev_private member on drm_framebuffer
tests
drm/tests: Add parameters to the drm_test_framebuffer_create test drm/tests: Replace strcpy to strscpy on drm_test_framebuffer_create
test
drm/tests: Add test case for drm_internal_framebuffer_create() drm/tests: Add test for drm_framebuffer_check_src_coords() drm/tests: Add test for drm_framebuffer_cleanup() drm/tests: Add test for drm_framebuffer_lookup() drm/tests: Add test for drm_framebuffer_init()
drm/tests: Add test for drm_framebuffer_free()
drivers/gpu/drm/drm_framebuffer.c | 2 + drivers/gpu/drm/drm_mode_object.c | 1 + drivers/gpu/drm/tests/drm_framebuffer_test.c | 375 ++++++++++++++++++- 3 files changed, 361 insertions(+), 17 deletions(-)
Signature · 1 line
2.44.2