Skip to content
Commit 817acff0 authored by Maxime Ripard's avatar Maxime Ripard Committed by Meng Li
Browse files

drm/vc4: kms: Constify the HVS old/new state helpers



commit  e9ebbd3472482d4c8ec5717b78946025f3976dc7 from
https://github.com/raspberrypi/linux.git rpi-6.1.y

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: default avatarJavier Martinez Canillas <javierm@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 14d7f529
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment