Home
last modified time | relevance | path

Searched refs:wal (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_workarounds.c100 static void wa_init_start(struct i915_wa_list *wal, struct intel_gt *gt, in wa_init_start() argument
103 wal->gt = gt; in wa_init_start()
104 wal->name = name; in wa_init_start()
105 wal->engine_name = engine_name; in wa_init_start()
110 static void wa_init_finish(struct i915_wa_list *wal) in wa_init_finish() argument
113 if (!IS_ALIGNED(wal->count, WA_LIST_CHUNK)) { in wa_init_finish()
114 struct i915_wa *list = kmemdup_array(wal->list, wal->count, in wa_init_finish()
118 kfree(wal->list); in wa_init_finish()
119 wal->list = list; in wa_init_finish()
123 if (!wal->count) in wa_init_finish()
[all …]
H A Dintel_workarounds.h18 static inline void intel_wa_list_free(struct i915_wa_list *wal) in intel_wa_list_free() argument
20 kfree(wal->list); in intel_wa_list_free()
21 memset(wal, 0, sizeof(*wal)); in intel_wa_list_free()
H A Dselftest_workarounds.c74 struct i915_wa_list *wal = &lists->engine[id].wa_list; in reference_lists_init() local
76 wa_init_start(wal, gt, "REF", engine->name); in reference_lists_init()
77 engine_init_workarounds(engine, wal); in reference_lists_init()
78 wa_init_finish(wal); in reference_lists_init()
/linux/drivers/gpu/drm/i915/
H A Di915_debugfs.c479 const struct i915_wa_list *wal = &engine->ctx_wa_list; in i915_wa_registers() local
483 count = wal->count; in i915_wa_registers()
490 for (wa = wal->list; count--; wa++) in i915_wa_registers()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ads.c380 struct i915_wa_list *wal = &engine->wa_list; in guc_mmio_regset_init() local
404 for (i = 0, wa = wal->list; i < wal->count; i++, wa++) in guc_mmio_regset_init()