mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
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 <[email protected]> Signed-off-by: Alexandru Gheorghe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
5 lines
207 B
Makefile
5 lines
207 B
Makefile
test-drm_modeset-y := test-drm_modeset_common.o test-drm_plane_helper.o \
|
|
test-drm_format.o test-drm_framebuffer.o
|
|
|
|
obj-$(CONFIG_DRM_DEBUG_SELFTEST) += test-drm_mm.o test-drm_modeset.o
|