diff options
-rw-r--r-- | drivers/gpu/drm/xe/xe_device.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/xe/xe_lrc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_device.h b/drivers/gpu/drm/xe/xe_device.h index 5c827beaea28..a64828bc6ad2 100644 --- a/drivers/gpu/drm/xe/xe_device.h +++ b/drivers/gpu/drm/xe/xe_device.h @@ -132,7 +132,7 @@ static inline void xe_device_guc_submission_disable(struct xe_device *xe) for ((id__) = 0; (id__) < (xe__)->info.gt_count; (id__)++) \ for_each_if((gt__) = xe_device_get_gt((xe__), (id__))) -static inline struct xe_force_wake * gt_to_fw(struct xe_gt *gt) +static inline struct xe_force_wake *gt_to_fw(struct xe_gt *gt) { return >->mmio.fw; } diff --git a/drivers/gpu/drm/xe/xe_lrc.c b/drivers/gpu/drm/xe/xe_lrc.c index 8f25a38f36a5..ddb1b1d6d00d 100644 --- a/drivers/gpu/drm/xe/xe_lrc.c +++ b/drivers/gpu/drm/xe/xe_lrc.c @@ -441,7 +441,7 @@ static const u8 *reg_offsets(struct xe_device *xe, enum xe_engine_class class) } } -static void set_context_control(u32 * regs, struct xe_hw_engine *hwe) +static void set_context_control(u32 *regs, struct xe_hw_engine *hwe) { regs[CTX_CONTEXT_CONTROL] = _MASKED_BIT_ENABLE(CTX_CTRL_INHIBIT_SYN_CTX_SWITCH) | _MASKED_BIT_DISABLE(CTX_CTRL_ENGINE_CTX_RESTORE_INHIBIT) | |