linux/drivers/gpu/drm/i915/intel_step.c

// SPDX-License-Identifier: MIT
/*
 * Copyright © 2020,2021 Intel Corporation
 */

#include "i915_drv.h"
#include "intel_step.h"

/*
 * Some platforms have unusual ways of mapping PCI revision ID to GT/display
 * steppings.  E.g., in some cases a higher PCI revision may translate to a
 * lower stepping of the GT and/or display IP.  This file provides lookup
 * tables to map the PCI revision into a standard set of stepping values that
 * can be compared numerically.
 *
 * Also note that some revisions/steppings may have been set aside as
 * placeholders but never materialized in real hardware; in those cases there
 * may be jumps in the revision IDs or stepping values in the tables below.
 */

/*
 * Some platforms always have the same stepping value for GT and display;
 * use a macro to define these to make it easier to identify the platforms
 * where the two steppings can deviate.
 */
#define COMMON_STEP(x)

static const struct intel_step_info skl_revids[] =;

static const struct intel_step_info kbl_revids[] =;

static const struct intel_step_info bxt_revids[] =;

static const struct intel_step_info glk_revids[] =;

static const struct intel_step_info icl_revids[] =;

static const struct intel_step_info jsl_ehl_revids[] =;

static const struct intel_step_info tgl_uy_revids[] =;

/* Same GT stepping between tgl_uy_revids and tgl_revids don't mean the same HW */
static const struct intel_step_info tgl_revids[] =;

static const struct intel_step_info rkl_revids[] =;

static const struct intel_step_info dg1_revids[] =;

static const struct intel_step_info adls_revids[] =;

static const struct intel_step_info adlp_revids[] =;

static const struct intel_step_info dg2_g10_revid_step_tbl[] =;

static const struct intel_step_info dg2_g11_revid_step_tbl[] =;

static const struct intel_step_info dg2_g12_revid_step_tbl[] =;

static const struct intel_step_info adls_rpls_revids[] =;

static const struct intel_step_info adlp_rplp_revids[] =;

static const struct intel_step_info adlp_n_revids[] =;

static u8 gmd_to_intel_step(struct drm_i915_private *i915,
			    struct intel_ip_version *gmd)
{}

void intel_step_init(struct drm_i915_private *i915)
{}

#define STEP_NAME_CASE(name)

const char *intel_step_name(enum intel_step step)
{}