1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __TEST_DRM_MODESET_COMMON_H__
4 #define __TEST_DRM_MODESET_COMMON_H__
6 #define FAIL(test, msg, ...) \
9 pr_err("%s/%u: " msg, __FUNCTION__, __LINE__, ##__VA_ARGS__); \
14 #define FAIL_ON(x) FAIL((x), "%s", "FAIL_ON(" __stringify(x) ")\n")
16 int test_drm_plane_helper(void);