drm_property_type_is(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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