drm_property_type_is(9)
π drm_property_type_is(9) β¨
okay so real talk, bestie β this one lives in the Kernel API Manual and it's genuinely a tiny little icon, so let's get into it π«Ά
πΈ NAME πΈ
drm_property_type_is β check the type of a property π
β¨ SYNOPSIS β¨
bool drm_property_type_is (struct drm_property *property , uint32_t type );
π ARGUMENTS π
propertyβ the property you wanna check, bestie. this is the one getting the vibe check πtypeβ the property type you're comparing it against π
π¦ DESCRIPTION π¦
so this is a helper function, and the reason it exists is lowkey funny: the uapi encoding of property types is a bit special, and it's like that for historical reasons π no cap, that's the whole story. that's why you get a cute little helper instead of just comparing things yourself.
like, it's not deep, it's just the safe way to do it. periodt π
π SEE ALSO π
- Kernel file
./include/drm/drm_property.hπ struct drm_property_enum(9)struct drm_property(9)struct drm_property_blob(9)drm_property_find(9)
ngl the whole friend group is in that SEE ALSO list, so if you're lost you literally just gotta go read the rest of ./include/drm π§π
okay bye ily! this page came straight out of ./include/drm, dated October 2026 β go off and check those types, bestie ππΈ
π¦ 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