linux/drivers/gpu/drm/selftests
Alexandru Gheorghe 6ff3d9ffdc drm/selftests: Add tests for drm_internal_framebuffer_create
Add tests that verify that drm_internal_framebuffer_create creates
buffers correctly by creating a dummy drm_device with a mock function
for the fb_create callback.

To decide if a buffer has been created or not it just checks if
fb_create callback has been called for the particular drm_mode_fb_cmd2
that's being tested.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181101151051.1509-8-alexandru-cosmin.gheorghe@arm.com
2018-11-02 09:58:30 +00:00
..
drm_mm_selftests.h drm/mm: Add a search-by-address variant to only inspect a single hole 2018-05-24 15:04:30 +01:00
drm_modeset_selftests.h drm/selftests: Add tests for drm_internal_framebuffer_create 2018-11-02 09:58:30 +00:00
drm_selftest.c
drm_selftest.h
Makefile drm/selftests: Add tests for drm_internal_framebuffer_create 2018-11-02 09:58:30 +00:00
test-drm_format.c drm/selftests: Add tests for drm_format_info* helpers 2018-11-02 09:57:58 +00:00
test-drm_framebuffer.c drm/selftests: Add tests for drm_internal_framebuffer_create 2018-11-02 09:58:30 +00:00
test-drm_mm.c drm-misc-next for 4.19: 2018-06-22 12:58:08 +10:00
test-drm_modeset_common.c drm/selftest: Refactor test-drm_plane_helper 2018-10-22 10:30:50 +01:00
test-drm_modeset_common.h drm/selftests: Add tests for drm_internal_framebuffer_create 2018-11-02 09:58:30 +00:00
test-drm_plane_helper.c drm/selftest: Refactor test-drm_plane_helper 2018-10-22 10:30:50 +01:00