Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2020,2021 Intel Corporation
4 */
5
6#ifndef __INTEL_STEP_H__
7#define __INTEL_STEP_H__
8
9#include <linux/types.h>
10
11#include <drm/intel/step.h>
12
13struct drm_i915_private;
14
15struct intel_step_info {
16 /*
17 * It is expected to have 4 number steps per letter. Deviation from
18 * the expectation breaks gmd_to_intel_step().
19 */
20 u8 graphics_step; /* Represents the compute tile on Xe_HPC */
21 u8 media_step;
22};
23
24void intel_step_init(struct drm_i915_private *i915);
25const char *intel_step_name(enum intel_step step);
26
27#endif /* __INTEL_STEP_H__ */