diff options
author | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-11-01 18:11:32 +0300 |
---|---|---|
committer | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-11-02 12:57:58 +0300 |
commit | 0d1c7d0fa9d77462c384dbf8e7fdd2c12f50e651 (patch) | |
tree | c04561f256ce5b25301b6b13de9d1af550da5e27 /drivers/gpu/drm/selftests/test-drm_modeset_common.h | |
parent | 8db2dc852941cf1bc9ea22b4ba5c14b8c9ab7194 (diff) | |
download | linux-0d1c7d0fa9d77462c384dbf8e7fdd2c12f50e651.tar.xz |
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
Diffstat (limited to 'drivers/gpu/drm/selftests/test-drm_modeset_common.h')
-rw-r--r-- | drivers/gpu/drm/selftests/test-drm_modeset_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/selftests/test-drm_modeset_common.h b/drivers/gpu/drm/selftests/test-drm_modeset_common.h index b0065a2eb067..592a6581b189 100644 --- a/drivers/gpu/drm/selftests/test-drm_modeset_common.h +++ b/drivers/gpu/drm/selftests/test-drm_modeset_common.h @@ -14,5 +14,8 @@ #define FAIL_ON(x) FAIL((x), "%s", "FAIL_ON(" __stringify(x) ")\n") 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); #endif |