Files
linux/drivers/gpu/drm/i915/intel_step.h
Jani Nikula 3ccc8a9229 drm/intel: add shared step.h and switch i915 to use it
As the first step towards using shared definitions for step name
enumerations, add shared include/drm/intel/step.h and switch i915 to use
it.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://patch.msgid.link/e76412a316ddff44dc46633d80e9caa5df54ed6b.1773663208.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2026-03-17 17:50:47 +02:00

28 lines
588 B
C

/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2020,2021 Intel Corporation
*/
#ifndef __INTEL_STEP_H__
#define __INTEL_STEP_H__
#include <linux/types.h>
#include <drm/intel/step.h>
struct drm_i915_private;
struct intel_step_info {
/*
* It is expected to have 4 number steps per letter. Deviation from
* the expectation breaks gmd_to_intel_step().
*/
u8 graphics_step; /* Represents the compute tile on Xe_HPC */
u8 media_step;
};
void intel_step_init(struct drm_i915_private *i915);
const char *intel_step_name(enum intel_step step);
#endif /* __INTEL_STEP_H__ */