]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/selftests: Add tests for drm_format_info* helpers
authorAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Thu, 1 Nov 2018 15:11:32 +0000 (15:11 +0000)
committerAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Fri, 2 Nov 2018 09:57:58 +0000 (09:57 +0000)
commit0d1c7d0fa9d77462c384dbf8e7fdd2c12f50e651
treec04561f256ce5b25301b6b13de9d1af550da5e27
parent8db2dc852941cf1bc9ea22b4ba5c14b8c9ab7194
drm/selftests: Add tests for drm_format_info* helpers

Add selftests for the following newly added functions:
 - drm_format_info_block_width
 - drm_format_info_block_height
 - drm_format_info_min_pitch

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-6-alexandru-cosmin.gheorghe@arm.com
drivers/gpu/drm/selftests/Makefile
drivers/gpu/drm/selftests/drm_modeset_selftests.h
drivers/gpu/drm/selftests/test-drm_format.c [new file with mode: 0644]
drivers/gpu/drm/selftests/test-drm_modeset_common.h