drm_core_check_feature(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_core_check_feature(9) πŸ’…

hiii bestie!! welcome to the Kernel API Manual ✨ we're doing a little feature-flag vibe check today, and honestly it's giving very "quick yes/no but make it kernel" energy. no cap.


πŸŽ€ NAME πŸŽ€

drm_core_check_feature β€” check driver feature flags

✨ SYNOPSIS ✨

       bool drm_core_check_feature (const struct drm_device *dev , enum
       drm_driver_feature feature );

🫢 ARGUMENTS 🫢

  • dev β€” the DRM device to check, aka which device we're looking at πŸ’–
  • feature β€” the feature flag, aka the thing we're checking for ✨

πŸ’– DESCRIPTION πŸ’–

okay so this checks dev for driver features. for the full lore, see drm_driver.driver_features, drm_device.driver_features, and the various enum drm_driver_feature flags. iykyk πŸ’…

it returns true if the feature is supported, and false otherwise. literally that's the whole vibe check, and it ate β€” slay πŸ’€βœ¨

🌈 SEE ALSO 🌈

go peek at these bestie:


mwah signing off from the ./include/drm source/version, dated October 2026 β€” catch you in the kernel, bestie πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from