]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5be29f8d7efa8a4c9f4bf4bef02e711c3624ea6
tree168c5b29ce36054976be552cdf54e03d779d0222
parent0696430e7049cfa8e88ea900492458c6a46453a6
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