drm_core_check_all_features(9)
π 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_featuresdrm_device.driver_features- and the various
enum drm_driver_featureflags π
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 π«Ά
- Kernel file
./include/drm/drm_drv.h enum drm_driver_feature(9)struct drm_driver(9)devm_drm_dev_alloc(9)drm_dev_is_unplugged(9)drm_core_check_feature(9)drm_drv_uses_atomic_modeset(9)
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
- 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