linux/drivers/gpu/drm/xe/xe_tuning.c

// SPDX-License-Identifier: MIT
/*
 * Copyright © 2022 Intel Corporation
 */

#include "xe_tuning.h"

#include <kunit/visibility.h>

#include "regs/xe_gt_regs.h"
#include "xe_gt_types.h"
#include "xe_platform_types.h"
#include "xe_rtp.h"

#undef XE_REG_MCR
#define XE_REG_MCR(...)

static const struct xe_rtp_entry_sr gt_tunings[] =;

static const struct xe_rtp_entry_sr engine_tunings[] =;

static const struct xe_rtp_entry_sr lrc_tunings[] =;

void xe_tuning_process_gt(struct xe_gt *gt)
{}
EXPORT_SYMBOL_IF_KUNIT();

void xe_tuning_process_engine(struct xe_hw_engine *hwe)
{}
EXPORT_SYMBOL_IF_KUNIT();

/**
 * xe_tuning_process_lrc - process lrc tunings
 * @hwe: engine instance to process tunings for
 *
 * Process LRC table for this platform, saving in @hwe all the tunings that need
 * to be applied on context restore. These are tunings touching registers that
 * are part of the HW context image.
 */
void xe_tuning_process_lrc(struct xe_hw_engine *hwe)
{}