Skip to content
Unverified Commit adf47b75 authored by Dave Stevenson's avatar Dave Stevenson Committed by Maxime Ripard
Browse files

drm/object: Add drm_object_property_get_default_value() function



Some functions to create properties (drm_plane_create_zpos_property or
drm_plane_create_color_properties for example) will ask for a range of
acceptable value and an initial one.

This initial value is then stored in the values array for that property.

Let's provide an helper to access this property.

Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220221095918.18763-7-maxime@cerno.tech
parent f6e63222
  • mirror @mirror

    mentioned in commit f202adf0125ec419ea359c1442934d46eb841bf5

    ·

    mentioned in commit f202adf0125ec419ea359c1442934d46eb841bf5

    Toggle commit list
  • mirror @mirror

    mentioned in commit eaabb5173d6712684c12030a7f32c1f0b6769435

    ·

    mentioned in commit eaabb5173d6712684c12030a7f32c1f0b6769435

    Toggle commit list
  • mirror @mirror

    mentioned in commit f4a24870

    ·

    mentioned in commit f4a24870

    Toggle commit list
  • mirror @mirror

    mentioned in commit a34541808e27b1ec198697479a049c07573a0de5

    ·

    mentioned in commit a34541808e27b1ec198697479a049c07573a0de5

    Toggle commit list
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