drm_core_check_all_features(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_core_check_all_features(9)

ok so bestie, this one's from the Kernel API Manual β€” the drm_core_check_all_features(9) page β€” and it's genuinely one of the most useful little vibe checks in the whole DRM directory. let's get into it πŸŽ€


✨ NAME ✨

drm_core_check_all_features β€” check driver feature flags mask πŸ¦‹


🌸 SYNOPSIS 🌸

bool drm_core_check_all_features (const struct drm_device *dev , u32
features );

like, it returns a bool, it takes a const struct drm_device *dev and a u32 features, that's the whole gig ✨


πŸ’– ARGUMENTS πŸ’–

  • dev β€” the DRM device you're checking πŸ‘€
  • features β€” the feature flag(s) mask, i.e. the little bundle of flags you're asking about πŸŽ€

πŸ‘‘ DESCRIPTION πŸ‘‘

so what this does is it checks dev for driver features. and when I say "see also" I mean literally go look at:

  • drm_driver.driver_features
  • drm_device.driver_features
  • and the various enum drm_driver_feature flags 🌈

it returns true if all the features in the features mask are supported, and false otherwise. that's it. that's the whole function. all-or-nothing, no partial credit, main character energy only πŸ‘‘

ngl the "all" is doing a lot of heavy lifting here β€” it's an every-single-one situation, not an any-of-them situation πŸ’€

🫢 SEE ALSO 🫢


and that's the page!! πŸŽ€ this iconic lil' entry lives in ./include/drm, dated October 2026, and it's literally titled drm_core_check_all_features(9) β€” go forth and check those features, bestie πŸ’œβœ¨

πŸ“¦ where this page comes from