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

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2022 Maxime Ripard <[email protected]>
 */

#include <kunit/test.h>

#include <drm/drm_connector.h>
#include <drm/drm_edid.h>
#include <drm/drm_drv.h>
#include <drm/drm_kunit_helpers.h>
#include <drm/drm_modes.h>
#include <drm/drm_modeset_helper_vtables.h>
#include <drm/drm_probe_helper.h>

struct drm_client_modeset_test_priv {};

static int drm_client_modeset_connector_get_modes(struct drm_connector *connector)
{}

static const struct drm_connector_helper_funcs drm_client_modeset_connector_helper_funcs =;

static const struct drm_connector_funcs drm_client_modeset_connector_funcs =;

static int drm_client_modeset_test_init(struct kunit *test)
{}

static void drm_test_pick_cmdline_res_1920_1080_60(struct kunit *test)
{}

struct drm_connector_pick_cmdline_mode_test {};

#define TEST_CMDLINE(_cmdline, _fn)

static void drm_test_pick_cmdline_named(struct kunit *test)
{}

static const
struct drm_connector_pick_cmdline_mode_test drm_connector_pick_cmdline_mode_tests[] =;

static void
drm_connector_pick_cmdline_mode_desc(const struct drm_connector_pick_cmdline_mode_test *t,
				     char *desc)
{}

KUNIT_ARRAY_PARAM(drm_connector_pick_cmdline_mode,
		  drm_connector_pick_cmdline_mode_tests,
		  drm_connector_pick_cmdline_mode_desc);

static struct kunit_case drm_test_pick_cmdline_tests[] =;

static struct kunit_suite drm_test_pick_cmdline_test_suite =;

kunit_test_suite();

/*
 * This file is included directly by drm_client_modeset.c so we can't
 * use any MODULE_* macro here.
 */