Re: [Intel-gfx] [PATCH] i915: make array flex_regs static const

2022-01-11 Thread Tvrtko Ursulin
On 11/01/2022 09:13, Tvrtko Ursulin wrote: On 09/01/2022 20:31, Colin Ian King wrote: Don't populate the read-only array flex_regs on the stack but instead it static const. Also makes the object code a little smaller. Signed-off-by: Colin Ian King ---   drivers/gpu/drm/i915/i915_perf.c | 2

Re: [Intel-gfx] [PATCH] i915: make array flex_regs static const

2022-01-11 Thread Tvrtko Ursulin
On 09/01/2022 20:31, Colin Ian King wrote: Don't populate the read-only array flex_regs on the stack but instead it static const. Also makes the object code a little smaller. Signed-off-by: Colin Ian King --- drivers/gpu/drm/i915/i915_perf.c | 2 +- 1 file changed, 1 insertion(+), 1

[Intel-gfx] [PATCH] i915: make array flex_regs static const

2022-01-10 Thread Colin Ian King
Don't populate the read-only array flex_regs on the stack but instead it static const. Also makes the object code a little smaller. Signed-off-by: Colin Ian King --- drivers/gpu/drm/i915/i915_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git