aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_device_info.h
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani.nikula@intel.com> 2022-08-19 15:02:37 +0300
committerGravatar Jani Nikula <jani.nikula@intel.com> 2022-08-24 11:45:26 +0300
commit43ba44a176a420137d5acd93a61fbeec4ce70191 (patch)
tree5c8fd1a34a8274528915eed04bb1e3d9f70dc8f5 /drivers/gpu/drm/i915/intel_device_info.h
parentdrm/i915: add initial runtime info into device info (diff)
downloadlinux-43ba44a176a420137d5acd93a61fbeec4ce70191.tar.gz
linux-43ba44a176a420137d5acd93a61fbeec4ce70191.tar.bz2
linux-43ba44a176a420137d5acd93a61fbeec4ce70191.zip
drm/i915: move graphics.ver and graphics.rel to runtime info
If it's modified runtime, it's runtime info. mock_gem_device() is the only one that modifies them. If that could be fixed, we wouldn't have to do this. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Maarten Lankhort <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/6bdf6cc0d67e3ed8042d2b92303351111147ba47.1660910433.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_device_info.h')
-rw-r--r--drivers/gpu/drm/i915/intel_device_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
index 847bb270f8d8..c4373f44c273 100644
--- a/drivers/gpu/drm/i915/intel_device_info.h
+++ b/drivers/gpu/drm/i915/intel_device_info.h
@@ -203,6 +203,8 @@ struct ip_version {
};
struct intel_runtime_info {
+ struct ip_version graphics;
+
/*
* Platform mask is used for optimizing or-ed IS_PLATFORM calls into
* single runtime conditionals, and also to provide groundwork for
@@ -224,7 +226,6 @@ struct intel_runtime_info {
};
struct intel_device_info {
- struct ip_version graphics;
struct ip_version media;
intel_engine_mask_t platform_engine_mask; /* Engines supported by the HW */