drm_cmdline_selftests.h (3080B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* List each unit test as selftest(function) 3 * 4 * The name is used as both an enum and expanded as igt__name to create 5 * a module parameter. It must be unique and legal for a C identifier. 6 * 7 * Tests are executed in order by igt/drm_mm 8 */ 9 10#define cmdline_test(test) selftest(test, test) 11 12cmdline_test(drm_cmdline_test_force_d_only) 13cmdline_test(drm_cmdline_test_force_D_only_dvi) 14cmdline_test(drm_cmdline_test_force_D_only_hdmi) 15cmdline_test(drm_cmdline_test_force_D_only_not_digital) 16cmdline_test(drm_cmdline_test_force_e_only) 17cmdline_test(drm_cmdline_test_margin_only) 18cmdline_test(drm_cmdline_test_interlace_only) 19cmdline_test(drm_cmdline_test_res) 20cmdline_test(drm_cmdline_test_res_missing_x) 21cmdline_test(drm_cmdline_test_res_missing_y) 22cmdline_test(drm_cmdline_test_res_bad_y) 23cmdline_test(drm_cmdline_test_res_missing_y_bpp) 24cmdline_test(drm_cmdline_test_res_vesa) 25cmdline_test(drm_cmdline_test_res_vesa_rblank) 26cmdline_test(drm_cmdline_test_res_rblank) 27cmdline_test(drm_cmdline_test_res_bpp) 28cmdline_test(drm_cmdline_test_res_bad_bpp) 29cmdline_test(drm_cmdline_test_res_refresh) 30cmdline_test(drm_cmdline_test_res_bad_refresh) 31cmdline_test(drm_cmdline_test_res_bpp_refresh) 32cmdline_test(drm_cmdline_test_res_bpp_refresh_interlaced) 33cmdline_test(drm_cmdline_test_res_bpp_refresh_margins) 34cmdline_test(drm_cmdline_test_res_bpp_refresh_force_off) 35cmdline_test(drm_cmdline_test_res_bpp_refresh_force_on_off) 36cmdline_test(drm_cmdline_test_res_bpp_refresh_force_on) 37cmdline_test(drm_cmdline_test_res_bpp_refresh_force_on_analog) 38cmdline_test(drm_cmdline_test_res_bpp_refresh_force_on_digital) 39cmdline_test(drm_cmdline_test_res_bpp_refresh_interlaced_margins_force_on) 40cmdline_test(drm_cmdline_test_res_margins_force_on) 41cmdline_test(drm_cmdline_test_res_vesa_margins) 42cmdline_test(drm_cmdline_test_res_invalid_mode) 43cmdline_test(drm_cmdline_test_res_bpp_wrong_place_mode) 44cmdline_test(drm_cmdline_test_name) 45cmdline_test(drm_cmdline_test_name_bpp) 46cmdline_test(drm_cmdline_test_name_refresh) 47cmdline_test(drm_cmdline_test_name_bpp_refresh) 48cmdline_test(drm_cmdline_test_name_refresh_wrong_mode) 49cmdline_test(drm_cmdline_test_name_refresh_invalid_mode) 50cmdline_test(drm_cmdline_test_name_option) 51cmdline_test(drm_cmdline_test_name_bpp_option) 52cmdline_test(drm_cmdline_test_rotate_0) 53cmdline_test(drm_cmdline_test_rotate_90) 54cmdline_test(drm_cmdline_test_rotate_180) 55cmdline_test(drm_cmdline_test_rotate_270) 56cmdline_test(drm_cmdline_test_rotate_multiple) 57cmdline_test(drm_cmdline_test_rotate_invalid_val) 58cmdline_test(drm_cmdline_test_rotate_truncated) 59cmdline_test(drm_cmdline_test_hmirror) 60cmdline_test(drm_cmdline_test_vmirror) 61cmdline_test(drm_cmdline_test_margin_options) 62cmdline_test(drm_cmdline_test_multiple_options) 63cmdline_test(drm_cmdline_test_invalid_option) 64cmdline_test(drm_cmdline_test_bpp_extra_and_option) 65cmdline_test(drm_cmdline_test_extra_and_option) 66cmdline_test(drm_cmdline_test_freestanding_options) 67cmdline_test(drm_cmdline_test_freestanding_force_e_and_options) 68cmdline_test(drm_cmdline_test_panel_orientation)