root/drivers/gpu/drm/selftests/test-drm_modeset_common.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 
   3 #ifndef __TEST_DRM_MODESET_COMMON_H__
   4 #define __TEST_DRM_MODESET_COMMON_H__
   5 
   6 #define FAIL(test, msg, ...) \
   7         do { \
   8                 if (test) { \
   9                         pr_err("%s/%u: " msg, __FUNCTION__, __LINE__, ##__VA_ARGS__); \
  10                         return -EINVAL; \
  11                 } \
  12         } while (0)
  13 
  14 #define FAIL_ON(x) FAIL((x), "%s", "FAIL_ON(" __stringify(x) ")\n")
  15 
  16 int igt_check_plane_state(void *ignored);
  17 int igt_check_drm_format_block_width(void *ignored);
  18 int igt_check_drm_format_block_height(void *ignored);
  19 int igt_check_drm_format_min_pitch(void *ignored);
  20 int igt_check_drm_framebuffer_create(void *ignored);
  21 int igt_damage_iter_no_damage(void *ignored);
  22 int igt_damage_iter_no_damage_fractional_src(void *ignored);
  23 int igt_damage_iter_no_damage_src_moved(void *ignored);
  24 int igt_damage_iter_no_damage_fractional_src_moved(void *ignored);
  25 int igt_damage_iter_no_damage_not_visible(void *ignored);
  26 int igt_damage_iter_no_damage_no_crtc(void *ignored);
  27 int igt_damage_iter_no_damage_no_fb(void *ignored);
  28 int igt_damage_iter_simple_damage(void *ignored);
  29 int igt_damage_iter_single_damage(void *ignored);
  30 int igt_damage_iter_single_damage_intersect_src(void *ignored);
  31 int igt_damage_iter_single_damage_outside_src(void *ignored);
  32 int igt_damage_iter_single_damage_fractional_src(void *ignored);
  33 int igt_damage_iter_single_damage_intersect_fractional_src(void *ignored);
  34 int igt_damage_iter_single_damage_outside_fractional_src(void *ignored);
  35 int igt_damage_iter_single_damage_src_moved(void *ignored);
  36 int igt_damage_iter_single_damage_fractional_src_moved(void *ignored);
  37 int igt_damage_iter_damage(void *ignored);
  38 int igt_damage_iter_damage_one_intersect(void *ignored);
  39 int igt_damage_iter_damage_one_outside(void *ignored);
  40 int igt_damage_iter_damage_src_moved(void *ignored);
  41 int igt_damage_iter_damage_not_visible(void *ignored);
  42 
  43 #endif

/* [<][>][^][v][top][bottom][index][help] */