drm/i915: make array states static const

Don't populate the read-only array states on the stack but instead it
static. Also makes the object code smaller.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210915112702.12783-1-colin.king@canonical.com
This commit is contained in:
Colin Ian King 2021-09-15 12:27:02 +01:00 • committed by Jani Nikula
commit 2a2d23b68c