Commit ef7e222c authored by Radhakrishna Sripada's avatar Radhakrishna Sripada Committed by Lucas De Marchi

drm/i915: Add intel_ prefix to struct ip_version

Rename struct ip_version to intel_ip_version to comply with the
naming conventions for structures.
Suggested-by: default avatarJani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: default avatarRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221011153851.3781507-1-radhakrishna.sripada@intel.com
parent 847eec69
......@@ -289,7 +289,7 @@ static void intel_device_info_subplatform_init(struct drm_i915_private *i915)
RUNTIME_INFO(i915)->platform_mask[pi] |= mask;
}
static void ip_ver_read(struct drm_i915_private *i915, u32 offset, struct ip_version *ip)
static void ip_ver_read(struct drm_i915_private *i915, u32 offset, struct intel_ip_version *ip)
{
struct pci_dev *pdev = to_pci_dev(i915->drm.dev);
void __iomem *addr;
......
......@@ -194,7 +194,7 @@ enum intel_ppgtt_type {
func(overlay_needs_physical); \
func(supports_tv);
struct ip_version {
struct intel_ip_version {
u8 ver;
u8 rel;
u8 step;
......@@ -206,13 +206,13 @@ struct intel_runtime_info {
* render, compute and copy behavior.
*/
struct {
struct ip_version ip;
struct intel_ip_version ip;
} graphics;
struct {
struct ip_version ip;
struct intel_ip_version ip;
} media;
struct {
struct ip_version ip;
struct intel_ip_version ip;
} display;
/*
......
......@@ -136,7 +136,7 @@ static const struct intel_step_info adlp_n_revids[] = {
};
static u8 gmd_to_intel_step(struct drm_i915_private *i915,
struct ip_version *gmd)
struct intel_ip_version *gmd)
{
u8 step = gmd->step + STEP_A0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment