linux/drivers/gpu/drm/xe/tests/xe_rtp_test.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright © 2023 Intel Corporation
 */

#include <linux/string.h>
#include <linux/xarray.h>

#include <drm/drm_drv.h>
#include <drm/drm_kunit_helpers.h>

#include <kunit/test.h>

#include "regs/xe_gt_regs.h"
#include "regs/xe_reg_defs.h"
#include "xe_device.h"
#include "xe_device_types.h"
#include "xe_kunit_helpers.h"
#include "xe_pci_test.h"
#include "xe_reg_sr.h"
#include "xe_rtp.h"

#define REGULAR_REG1
#define REGULAR_REG2
#define REGULAR_REG3
#define MCR_REG1
#define MCR_REG2
#define MCR_REG3
#define MASKED_REG1

#undef XE_REG_MCR
#define XE_REG_MCR(...)

struct rtp_test_case {};

static bool match_yes(const struct xe_gt *gt, const struct xe_hw_engine *hwe)
{}

static bool match_no(const struct xe_gt *gt, const struct xe_hw_engine *hwe)
{}

static const struct rtp_test_case cases[] =;

static void xe_rtp_process_tests(struct kunit *test)
{}

static void rtp_desc(const struct rtp_test_case *t, char *desc)
{}

KUNIT_ARRAY_PARAM(rtp, cases, rtp_desc);

static int xe_rtp_test_init(struct kunit *test)
{}

static void xe_rtp_test_exit(struct kunit *test)
{}

static struct kunit_case xe_rtp_tests[] =;

static struct kunit_suite xe_rtp_test_suite =;

kunit_test_suite();