drm_object_...ty_get_value(9)
β¨ drm_object_property_get_value(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil function from the DRM core and it's literally the "hey what's this property set to rn" girlie. let's get into it π
πΈ NAME πΈ
drm_object_property_get_value β retrieve the value of a property π
π¦ SYNOPSIS π¦
int drm_object_property_get_value (struct drm_mode_object *obj ,
struct drm_property *property ,
uint64_t *val );
β¨ ARGUMENTS β¨
objβ the drm mode object you're pulling the property value from π«Άpropertyβ the property you wanna retrieve, iykykvalβ your storage spot where the property value gets dropped off π¦
π DESCRIPTION π
so this function retrieves the software state of the given property for the given property β yes bestie, that's exactly what it says, it's a lil goofy but we move ππ
the big thing here: there's no driver callback to retrieve the current property value, so what you get back might be out of sync with the hardware β and that totally depends upon the driver and the property. so likeβ¦ vibe check your expectations, ngl π
atomic drivers: do NOT call this function directly, periodt. the core will read out property values through the various ->atomic_get_property callbacks instead. that's the main character behavior, not yours π
π
π₯ RETURN π₯
- Zero on success π
- an error code on failure π
π SEE ALSO π
kernel file ./drivers/gpu/drm/drm_mode_object.c and its whole friend group:
drm_mode_object_add(9)drm_mode_object_unregister(9)drm_mode_object_lease_required(9)drm_mode_object_find(9)drm_mode_object_put(9)drm_mode_object_get(9)drm_object_attach_property(9)drm_object_property_set_value(9)drm_object_property_get_default_value(9)drm_object_immutable_property_get_value(9)drm_mode_obj_get_properties_ioctl(9)
okay that's the whole page, no cap π§π this lil icon lives in ./drivers/gpu/drm, dated October 2026, and it's serving drm_object_...ty_get_value(9) energy from the Kernel API Manual. slay, go read your property values responsibly πβπ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms