drm_mode_convert_umode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is drm_mode_convert_umode(9), straight from the Kernel API Manual. Buckle up, it’s giving β€œtiny but important” energy. πŸ’–

🌸 NAME 🌸

drm_mode_convert_umode β€” convert a modeinfo into a drm_display_mode. That’s the official one-liner, and yes, that’s literally the whole vibe check. ✨

✨ SYNOPSIS ✨

The signature, exactly as it lives:

int drm_mode_convert_umode (struct drm_device *dev , struct
       drm_display_mode *out , const struct drm_mode_modeinfo *in );

🫢 ARGUMENTS 🫢

  • dev β€” the drm device, bestie.
  • out β€” the drm_display_mode to return to the user.
  • in β€” the drm_mode_modeinfo to use.

πŸ’– DESCRIPTION πŸ’–

Convert a drm_mode_modeinfo into a drm_display_mode structure to return to the caller. That’s the whole assignment, no cap. πŸ’…

🌈 RETURN 🌈

Zero on success, negative errno on failure. So: success is 0, failure is a negative errno. Periodt. πŸ’€

πŸŽ€ SEE ALSO πŸŽ€


xoxo, your Unix bestie πŸ’– β€” dropping this from the ./drivers/gpu/drm corner, dated October 2026, signing off from drm_mode_convert_umode(9). πŸŽ€

πŸ“¦ where this page comes from