diff options
| author | Dave Stevenson <[email protected]> | 2022-02-21 09:59:02 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2022-02-25 16:55:42 +0000 |
| commit | adf47b75297ebc71c53b6dc2d3c55f42b8fb79fd (patch) | |
| tree | 36431419fe1a978bd2e82c1b71ef3e105afad1fb /drivers/gpu/drm/omapdrm/omap_plane.c | |
| parent | drm/omap: plane: Fix zpos initial value mismatch (diff) | |
| download | kernel-adf47b75297ebc71c53b6dc2d3c55f42b8fb79fd.tar.gz kernel-adf47b75297ebc71c53b6dc2d3c55f42b8fb79fd.zip | |
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: Daniel Vetter <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Dave Stevenson <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_plane.c')
0 files changed, 0 insertions, 0 deletions
