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
This commit is contained in:
Jani Nikula
2022-08-19 15:02:43 +03:00
parent f81f30b305
commit 488e29fedc
5 changed files with 34 additions and 34 deletions

View File

@@ -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 */