Re: [PATCH][V2] drm/i915: make a handful of read-only arrays static const

2022-03-01 Thread Ville Syrjälä
On Wed, Feb 23, 2022 at 12:09:23PM +, Colin Ian King wrote: > Don't populate the read-only arrays on the stack but instead make > them static const and signed 8 bit ints. Also makes the object code a > little smaller. Reformat the statements to clear up checkpatch warning. > > Signed-off-by:

[PATCH][V2] drm/i915: make a handful of read-only arrays static const

2022-02-23 Thread Colin Ian King
Don't populate the read-only arrays on the stack but instead make them static const and signed 8 bit ints. Also makes the object code a little smaller. Reformat the statements to clear up checkpatch warning. Signed-off-by: Colin Ian King --- V2: Make arrays signed 8 bit integers as requested by