Re: [PATCH][RESEND] i915: make array flex_regs static const

2022-01-14 Thread Tvrtko Ursulin
On 13/01/2022 09:21, Jani Nikula wrote: On Wed, 12 Jan 2022, 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 --- RESEND: Use correct e-mail address for s

Re: [PATCH][RESEND] i915: make array flex_regs static const

2022-01-13 Thread Jani Nikula
On Wed, 12 Jan 2022, 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 > > --- > > RESEND: Use correct e-mail address for sign-off and From: in e-mail. Th

[PATCH][RESEND] i915: make array flex_regs static const

2022-01-13 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 --- RESEND: Use correct e-mail address for sign-off and From: in e-mail. --- drivers/gpu/drm/i915/i915_perf.c | 2 +- 1 file change