summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_device_info.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2022-08-19 15:02:43 +0300
committerJani Nikula <jani.nikula@intel.com>2022-08-24 11:45:26 +0300
commit488e29fedc1f2b771b37896da853bc4b493e4b3a (patch)
treeccba93844ee5f670855835d96f11db2cc998c936 /drivers/gpu/drm/i915/intel_device_info.h
parentf81f30b305d2c73c23d60b12b104d3f191c5687d (diff)
downloadlinux-488e29fedc1f2b771b37896da853bc4b493e4b3a.tar.xz
drm/i915: move platform_engine_mask to runtime info
If it's modified runtime, it's runtime info. mock_gem_device() is the only one that modifies it. 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/1261406b373998c1a171ee9ed91f7f562826eba6.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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
index 2e50774ed6ab..a427923f1fa0 100644
--- a/drivers/gpu/drm/i915/intel_device_info.h
+++ b/drivers/gpu/drm/i915/intel_device_info.h
@@ -216,6 +216,8 @@ struct intel_runtime_info {
u16 device_id;
+ intel_engine_mask_t platform_engine_mask; /* Engines supported by the HW */
+
u32 rawclk_freq;
struct intel_step_info step;
@@ -241,8 +243,6 @@ struct intel_runtime_info {
struct intel_device_info {
struct ip_version media;
- intel_engine_mask_t platform_engine_mask; /* Engines supported by the HW */
-
enum intel_platform platform;
unsigned int dma_mask_size; /* available DMA address bits */