drm/vc4: kms: Constify the HVS old/new state helpers
authorMaxime Ripard <maxime@cerno.tech>
Wed, 23 Nov 2022 15:25:55 +0000 (16:25 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 28 Nov 2022 10:50:41 +0000 (11:50 +0100)
commite818ee689986ea82a6e46e4128adbf94268d6d20
tree8d7cbe2a7aad9bf72aae6a46ebb171858499d122
parent553a241b80f22a20cd1a93f5e13d93bbde3fc7bc
drm/vc4: kms: Constify the HVS old/new state helpers

The vc4_hvs_get_(old|new)_global_state functions don't modify the
drm_atomic_state passed as an argument, so let's make it const.

Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v1-13-051a0bb60a16@cerno.tech
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_kms.c