drm_drv_uses_atomic_modeset(9)
π NAME π
drm_drv_uses_atomic_modeset β the little vibe check that tells you whether a driver actually implements atomic_commit()
ok so hi bestie, welcome to the Kernel API Manual β¨ this one's about drm_drv_uses_atomic_modeset(9) and it's honestly iconic of the kernel to give us a whole function for this π
β¨ SYNOPSIS β¨
bool drm_drv_uses_atomic_modeset (struct drm_device *dev );
like yes that's the whole signature, she's simple, she's clean, she returns a bool π¦
πΈ ARGUMENTS πΈ
devβ your DRM device π that's it, that's the whole argument, she takes one (1) device and minds her own business
π DESCRIPTION π
so here's the tea β this check is useful if drivers do not have DRIVER_ATOMIC set but have atomic modesetting internally implemented.
read that again bestie, because it's lowkey the whole point π the flag says one thing, the internals are doing another, and this function is the one who actually knows what's going on. no cap. π«Ά
π 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_all_features(9)drm_core_check_feature(9)
go read those next, iykyk πβ¨
that's the whole page babes π short and sweet fr fr. this gem lives in ./include/drm and it's serving October 2026 energy β mwah, love u, go check ur feature flags π
ππ¦
π¦ 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