static void gt_reset_worker(struct work_struct *w);
-int emit_nop_job(struct xe_gt *gt, struct xe_engine *e)
+static int emit_nop_job(struct xe_gt *gt, struct xe_engine *e)
{
struct xe_sched_job *job;
struct xe_bb *bb;
return 0;
}
-int emit_wa_job(struct xe_gt *gt, struct xe_engine *e)
+static int emit_wa_job(struct xe_gt *gt, struct xe_engine *e)
{
struct xe_reg_sr *sr = &e->hwe->reg_lrc;
struct xe_reg_sr_entry *entry;
return 0;
}
-int do_gt_reset(struct xe_gt *gt)
+static int do_gt_reset(struct xe_gt *gt)
{
struct xe_device *xe = gt_to_xe(gt);
int err;
* transfer. These parameters are read by the firmware on startup
* and cannot be changed thereafter.
*/
-void guc_write_params(struct xe_guc *guc)
+static void guc_write_params(struct xe_guc *guc)
{
struct xe_gt *gt = guc_to_gt(guc);
int i;
"Received early GuC exception notification!\n");
}
-void guc_enable_irq(struct xe_guc *guc)
+static void guc_enable_irq(struct xe_guc *guc)
{
struct xe_gt *gt = guc_to_gt(guc);
u32 events = xe_gt_is_media_type(gt) ?
GEN3_IRQ_RESET(gt, GEN8_PCU_);
}
-void xe_irq_reset(struct xe_device *xe)
+static void xe_irq_reset(struct xe_device *xe)
{
struct xe_gt *gt;
u8 id;
[DRM_XE_ENGINE_CLASS_COMPUTE] = XE_ENGINE_CLASS_COMPUTE,
};
-int check_hw_engines(struct xe_device *xe,
- struct drm_xe_engine_class_instance *eci,
- int num_engines)
+static int check_hw_engines(struct xe_device *xe,
+ struct drm_xe_engine_class_instance *eci,
+ int num_engines)
{
int i;