mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
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
This commit is contained in:
@@ -17,5 +17,6 @@ int igt_check_plane_state(void *ignored);
|
||||
int igt_check_drm_format_block_width(void *ignored);
|
||||
int igt_check_drm_format_block_height(void *ignored);
|
||||
int igt_check_drm_format_min_pitch(void *ignored);
|
||||
int igt_check_drm_framebuffer_create(void *ignored);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user