linux/drivers/gpu/drm/tests/drm_damage_helper_test.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Test case for drm_damage_helper functions
 *
 * Copyright (c) 2022 Maíra Canal <[email protected]>
 */

#include <kunit/test.h>

#include <drm/drm_damage_helper.h>
#include <drm/drm_framebuffer.h>
#include <drm/drm_plane.h>
#include <drm/drm_drv.h>

struct drm_damage_mock {};

static int drm_damage_helper_init(struct kunit *test)
{}

static void set_plane_src(struct drm_plane_state *state, int x1, int y1, int x2,
			  int y2)
{}

static void set_damage_clip(struct drm_mode_rect *r, int x1, int y1, int x2,
			    int y2)
{}

static void set_damage_blob(struct drm_property_blob *damage_blob,
			    struct drm_mode_rect *r, u32 size)
{}

static void set_plane_damage(struct drm_plane_state *state,
			     struct drm_property_blob *damage_blob)
{}

static void check_damage_clip(struct kunit *test, struct drm_rect *r,
			      int x1, int y1, int x2, int y2)
{}

static void drm_test_damage_iter_no_damage(struct kunit *test)
{}

static void drm_test_damage_iter_no_damage_fractional_src(struct kunit *test)
{}

static void drm_test_damage_iter_no_damage_src_moved(struct kunit *test)
{}

static void drm_test_damage_iter_no_damage_fractional_src_moved(struct kunit *test)
{}

static void drm_test_damage_iter_no_damage_not_visible(struct kunit *test)
{}

static void drm_test_damage_iter_no_damage_no_crtc(struct kunit *test)
{}

static void drm_test_damage_iter_no_damage_no_fb(struct kunit *test)
{}

static void drm_test_damage_iter_simple_damage(struct kunit *test)
{}

static void drm_test_damage_iter_single_damage(struct kunit *test)
{}

static void drm_test_damage_iter_single_damage_intersect_src(struct kunit *test)
{}

static void drm_test_damage_iter_single_damage_outside_src(struct kunit *test)
{}

static void drm_test_damage_iter_single_damage_fractional_src(struct kunit *test)
{}

static void drm_test_damage_iter_single_damage_intersect_fractional_src(struct kunit *test)
{}

static void drm_test_damage_iter_single_damage_outside_fractional_src(struct kunit *test)
{}

static void drm_test_damage_iter_single_damage_src_moved(struct kunit *test)
{}

static void drm_test_damage_iter_single_damage_fractional_src_moved(struct kunit *test)
{}

static void drm_test_damage_iter_damage(struct kunit *test)
{}

static void drm_test_damage_iter_damage_one_intersect(struct kunit *test)
{}

static void drm_test_damage_iter_damage_one_outside(struct kunit *test)
{}

static void drm_test_damage_iter_damage_src_moved(struct kunit *test)
{}

static void drm_test_damage_iter_damage_not_visible(struct kunit *test)
{}

static struct kunit_case drm_damage_helper_tests[] =;

static struct kunit_suite drm_damage_helper_test_suite =;

kunit_test_suite();

MODULE_DESCRIPTION();
MODULE_LICENSE();