]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/mode_object: add drm_object_immutable_property_get_value()
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 6 Jan 2026 03:09:55 +0000 (05:09 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Wed, 14 Jan 2026 00:18:31 +0000 (02:18 +0200)
commit66c9c0cfe765af7f30eac880da0fa047aea8617d
tree2931ed24a19a397865ce779bc31d7af9016382b1
parentc40b50c3cfbe274f054c6a2d2fa62cd7c4650460
drm/mode_object: add drm_object_immutable_property_get_value()

We have a helper to get property values for non-atomic drivers and
another one default property values for atomic drivers. In some cases we
need the ability to get value of immutable property, no matter what kind
of driver it is. Implement new property-related helper,
drm_object_immutable_property_get_value(), which lets the caller to get
the value of the immutable property.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260106-drm-fix-lut-checks-v3-1-f7f979eb73c8@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/drm_mode_object.c
include/drm/drm_mode_object.h