drm_core_check_feature(9)
π 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:
- 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_all_features(9)drm_drv_uses_atomic_modeset(9)
mwah signing off from the ./include/drm source/version, dated October 2026 β catch you in the kernel, 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