Re: [Intel-gfx] [PATCH] drm/i915: Simplify internal helper function signature

2022-11-14 Thread Tvrtko Ursulin
On 10/11/2022 14:39, Mika Kuoppala wrote: Tvrtko Ursulin writes: From: Tvrtko Ursulin Since we are now storing the GT backpointer in the wa list we can drop the explicit struct intel_gt * argument to wa_list_apply. There is room for more dropping, all the platform lists inits. Indeed!

Re: [Intel-gfx] [PATCH] drm/i915: Simplify internal helper function signature

2022-11-10 Thread Mika Kuoppala
Tvrtko Ursulin writes: > From: Tvrtko Ursulin > > Since we are now storing the GT backpointer in the wa list we can drop the > explicit struct intel_gt * argument to wa_list_apply. There is room for more dropping, all the platform lists inits. > > Signed-off-by: Tvrtko Ursulin > Cc: Andrzej Ha

[PATCH] drm/i915: Simplify internal helper function signature

2022-11-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Since we are now storing the GT backpointer in the wa list we can drop the explicit struct intel_gt * argument to wa_list_apply. Signed-off-by: Tvrtko Ursulin Cc: Andrzej Hajda --- drivers/gpu/drm/i915/gt/intel_workarounds.c | 10 +- 1 file changed, 5 insertions(+