drm_mode_convert_to_umode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the drm_mode_convert_to_umode(9) page from the Kernel API Manual. The name is literally drm_mode_convert_to_umode, and its whole thing is: convert a drm_display_mode into a modeinfo. lowkey iconic πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

void drm_mode_convert_to_umode (struct drm_mode_modeinfo *out , const
       struct drm_display_mode *in );

🫢 ARGUMENTS 🫢

  • out β€” the drm_mode_modeinfo struct to return to the user. that’s the output bestie πŸ’–
  • in β€” the drm_display_mode to use. that’s the input πŸ¦‹

🌸 DESCRIPTION 🌸

So what it does is convert a drm_display_mode into a drm_mode_modeinfo structure to return to the user. That’s the whole vibe: drm_display_mode in, drm_mode_modeinfo out, and the result goes back to the user. periodt ✨


🌈 SEE ALSO 🌈

Kernel file: ./drivers/gpu/drm/drm_modes.c

the whole friend group is here, no cap:


okay that’s the whole page bestie β€” source/version is ./drivers/gpu/drm, and the date is October 2026. bye bestie, go convert some modes πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from