drm_drv_uses_atomic_modeset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈

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