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

drm/atomic: Constify the old/new state accessors



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

The drm_atomic_get_(old|new)_*_state don't modify the passed
drm_atomic_state, so we can make it const.

Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123-rpi-kunit-tests-v1-9-051a0bb60a16@cerno.tech
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 60d1cb5d
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