提交 53718bff 编写于 作者: A Ayaz A Siddiqui 提交者: Matt Roper

drm/i915/gt: Add "intel_" as prefix in set_mocs_index()

Adding missing "intel_" prefix in set_mocs_index().

Fixes: b62aa57e ("drm/i915/gt: Add support of mocs propagation")
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: NAyaz A Siddiqui <ayaz.siddiqui@intel.com>
Reviewed-by: NMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210916062736.1733587-1-ayaz.siddiqui@intel.com
上级 d0a65249
...@@ -684,7 +684,7 @@ int intel_gt_init(struct intel_gt *gt) ...@@ -684,7 +684,7 @@ int intel_gt_init(struct intel_gt *gt)
goto err_pm; goto err_pm;
} }
set_mocs_index(gt); intel_set_mocs_index(gt);
err = intel_engines_init(gt); err = intel_engines_init(gt);
if (err) if (err)
......
...@@ -616,7 +616,7 @@ static u32 global_mocs_offset(void) ...@@ -616,7 +616,7 @@ static u32 global_mocs_offset(void)
return i915_mmio_reg_offset(GEN12_GLOBAL_MOCS(0)); return i915_mmio_reg_offset(GEN12_GLOBAL_MOCS(0));
} }
void set_mocs_index(struct intel_gt *gt) void intel_set_mocs_index(struct intel_gt *gt)
{ {
struct drm_i915_mocs_table table; struct drm_i915_mocs_table table;
......
...@@ -36,6 +36,6 @@ struct intel_gt; ...@@ -36,6 +36,6 @@ struct intel_gt;
void intel_mocs_init(struct intel_gt *gt); void intel_mocs_init(struct intel_gt *gt);
void intel_mocs_init_engine(struct intel_engine_cs *engine); void intel_mocs_init_engine(struct intel_engine_cs *engine);
void set_mocs_index(struct intel_gt *gt); void intel_set_mocs_index(struct intel_gt *gt);
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册