2018-10-17 03:46:08 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
|
|
|
#ifndef __TEST_DRM_MODESET_COMMON_H__
|
|
|
|
#define __TEST_DRM_MODESET_COMMON_H__
|
|
|
|
|
2019-11-23 00:56:23 +07:00
|
|
|
#include <linux/errno.h>
|
|
|
|
#include <linux/printk.h>
|
|
|
|
|
2018-10-17 03:46:08 +07:00
|
|
|
#define FAIL(test, msg, ...) \
|
|
|
|
do { \
|
|
|
|
if (test) { \
|
|
|
|
pr_err("%s/%u: " msg, __FUNCTION__, __LINE__, ##__VA_ARGS__); \
|
|
|
|
return -EINVAL; \
|
|
|
|
} \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define FAIL_ON(x) FAIL((x), "%s", "FAIL_ON(" __stringify(x) ")\n")
|
|
|
|
|
2019-11-23 00:56:23 +07:00
|
|
|
int igt_drm_rect_clip_scaled_div_by_zero(void *ignored);
|
|
|
|
int igt_drm_rect_clip_scaled_not_clipped(void *ignored);
|
|
|
|
int igt_drm_rect_clip_scaled_clipped(void *ignored);
|
|
|
|
int igt_drm_rect_clip_scaled_signed_vs_unsigned(void *ignored);
|
2018-10-19 17:57:51 +07:00
|
|
|
int igt_check_plane_state(void *ignored);
|
2018-11-01 22:11:32 +07:00
|
|
|
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);
|
2018-11-01 22:11:33 +07:00
|
|
|
int igt_check_drm_framebuffer_create(void *ignored);
|
2018-10-16 01:07:08 +07:00
|
|
|
int igt_damage_iter_no_damage(void *ignored);
|
|
|
|
int igt_damage_iter_no_damage_fractional_src(void *ignored);
|
|
|
|
int igt_damage_iter_no_damage_src_moved(void *ignored);
|
|
|
|
int igt_damage_iter_no_damage_fractional_src_moved(void *ignored);
|
|
|
|
int igt_damage_iter_no_damage_not_visible(void *ignored);
|
|
|
|
int igt_damage_iter_no_damage_no_crtc(void *ignored);
|
|
|
|
int igt_damage_iter_no_damage_no_fb(void *ignored);
|
|
|
|
int igt_damage_iter_simple_damage(void *ignored);
|
|
|
|
int igt_damage_iter_single_damage(void *ignored);
|
|
|
|
int igt_damage_iter_single_damage_intersect_src(void *ignored);
|
|
|
|
int igt_damage_iter_single_damage_outside_src(void *ignored);
|
|
|
|
int igt_damage_iter_single_damage_fractional_src(void *ignored);
|
|
|
|
int igt_damage_iter_single_damage_intersect_fractional_src(void *ignored);
|
|
|
|
int igt_damage_iter_single_damage_outside_fractional_src(void *ignored);
|
|
|
|
int igt_damage_iter_single_damage_src_moved(void *ignored);
|
|
|
|
int igt_damage_iter_single_damage_fractional_src_moved(void *ignored);
|
|
|
|
int igt_damage_iter_damage(void *ignored);
|
|
|
|
int igt_damage_iter_damage_one_intersect(void *ignored);
|
|
|
|
int igt_damage_iter_damage_one_outside(void *ignored);
|
|
|
|
int igt_damage_iter_damage_src_moved(void *ignored);
|
|
|
|
int igt_damage_iter_damage_not_visible(void *ignored);
|
2019-09-04 03:45:42 +07:00
|
|
|
int igt_dp_mst_calc_pbn_mode(void *ignored);
|
2019-09-04 03:45:45 +07:00
|
|
|
int igt_dp_mst_sideband_msg_req_decode(void *ignored);
|
2018-10-17 03:46:08 +07:00
|
|
|
|
|
|
|
#endif
|