drm/i915: make a handful of read-only arrays static const
authorColin Ian King <colin.i.king@gmail.com>
Wed, 23 Feb 2022 12:09:23 +0000 (12:09 +0000)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Mar 2022 17:07:30 +0000 (19:07 +0200)
commit17003d109e6cd08d4db5f6525a1023537ce6c743
tree168c5b29ce36054976be552cdf54e03d779d0222
parent47f16fe53545289e2e90e59a1c4679c87e833cf9
drm/i915: make a handful of read-only arrays static const

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 <colin.i.king@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220223120923.239867-1-colin.i.king@gmail.com
drivers/gpu/drm/i915/display/intel_vdsc.c