mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 07:05:36 +07:00
30218eb77d
Add selftests for drm_rect. A few basic ones for clipped and unclipped cases, and a few special ones for specific bugs we had in the code. I'm too lazy to think of more corner cases to check at this time. Maybe later. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191122175623.13565-5-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com>
41 lines
2.8 KiB
C
41 lines
2.8 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* List each unit test as selftest(name, function)
|
|
*
|
|
* The name is used as both an enum and expanded as igt__name to create
|
|
* a module parameter. It must be unique and legal for a C identifier.
|
|
*
|
|
* Tests are executed in order by igt/drm_selftests_helper
|
|
*/
|
|
selftest(drm_rect_clip_scaled_div_by_zero, igt_drm_rect_clip_scaled_div_by_zero)
|
|
selftest(drm_rect_clip_scaled_not_clipped, igt_drm_rect_clip_scaled_not_clipped)
|
|
selftest(drm_rect_clip_scaled_clipped, igt_drm_rect_clip_scaled_clipped)
|
|
selftest(drm_rect_clip_scaled_signed_vs_unsigned, igt_drm_rect_clip_scaled_signed_vs_unsigned)
|
|
selftest(check_plane_state, igt_check_plane_state)
|
|
selftest(check_drm_format_block_width, igt_check_drm_format_block_width)
|
|
selftest(check_drm_format_block_height, igt_check_drm_format_block_height)
|
|
selftest(check_drm_format_min_pitch, igt_check_drm_format_min_pitch)
|
|
selftest(check_drm_framebuffer_create, igt_check_drm_framebuffer_create)
|
|
selftest(damage_iter_no_damage, igt_damage_iter_no_damage)
|
|
selftest(damage_iter_no_damage_fractional_src, igt_damage_iter_no_damage_fractional_src)
|
|
selftest(damage_iter_no_damage_src_moved, igt_damage_iter_no_damage_src_moved)
|
|
selftest(damage_iter_no_damage_fractional_src_moved, igt_damage_iter_no_damage_fractional_src_moved)
|
|
selftest(damage_iter_no_damage_not_visible, igt_damage_iter_no_damage_not_visible)
|
|
selftest(damage_iter_no_damage_no_crtc, igt_damage_iter_no_damage_no_crtc)
|
|
selftest(damage_iter_no_damage_no_fb, igt_damage_iter_no_damage_no_fb)
|
|
selftest(damage_iter_simple_damage, igt_damage_iter_simple_damage)
|
|
selftest(damage_iter_single_damage, igt_damage_iter_single_damage)
|
|
selftest(damage_iter_single_damage_intersect_src, igt_damage_iter_single_damage_intersect_src)
|
|
selftest(damage_iter_single_damage_outside_src, igt_damage_iter_single_damage_outside_src)
|
|
selftest(damage_iter_single_damage_fractional_src, igt_damage_iter_single_damage_fractional_src)
|
|
selftest(damage_iter_single_damage_intersect_fractional_src, igt_damage_iter_single_damage_intersect_fractional_src)
|
|
selftest(damage_iter_single_damage_outside_fractional_src, igt_damage_iter_single_damage_outside_fractional_src)
|
|
selftest(damage_iter_single_damage_src_moved, igt_damage_iter_single_damage_src_moved)
|
|
selftest(damage_iter_single_damage_fractional_src_moved, igt_damage_iter_single_damage_fractional_src_moved)
|
|
selftest(damage_iter_damage, igt_damage_iter_damage)
|
|
selftest(damage_iter_damage_one_intersect, igt_damage_iter_damage_one_intersect)
|
|
selftest(damage_iter_damage_one_outside, igt_damage_iter_damage_one_outside)
|
|
selftest(damage_iter_damage_src_moved, igt_damage_iter_damage_src_moved)
|
|
selftest(damage_iter_damage_not_visible, igt_damage_iter_damage_not_visible)
|
|
selftest(dp_mst_calc_pbn_mode, igt_dp_mst_calc_pbn_mode)
|
|
selftest(dp_mst_sideband_msg_req_decode, igt_dp_mst_sideband_msg_req_decode)
|