drm_client_modeset_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_client_modeset_probe(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” yes we're reading kernel docs together, this is our era now, and honestly? it's giving main character energy. sit down, grab a strawberry beverage πŸ“, and let's get into it.


🌸 NAME 🌸

drm_client_modeset_probe β€” the "hey, what displays do we even have?" probe function πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_client_modeset_probe (struct drm_client_dev *client , unsigned
       int width , unsigned int height );

literally just three args and a return value. no cap, that's it. 🫢


✨ ARGUMENTS ✨

  • client β€” your DRM client, the whole reason we're here πŸ’–
  • width β€” maximum display mode width. it's optional, so like, no pressure bestie πŸ™ˆ
  • height β€” maximum display mode height. also optional, also no pressure 🌈

πŸ’œ DESCRIPTION πŸ’œ

so what does this icon actually do? it sets up display pipelines for the enabled connectors, and then it stores the resulting config in the client's modeset array. that's the whole vibe. connectors in, config out, iconic behaviour πŸ‘‘

ngl, that's the entire description. sometimes the docs are short and sweet and we respect that.


πŸ”₯ RETURN πŸ”₯

  • 0 β€” slay, success ✨
  • negative error code β€” not slay, failure 😭

🧚 SEE ALSO 🧚

all the friends in the group chat, fr fr 🫢

reminder bestie: every one of these is a real reference, don't skip 'em just because i made them sound cute πŸ’…

and that's the page! brought to you by ./drivers/gpu/drm, dated October 2026, from the Kernel API Manual πŸ’– mwah, go probe some displays, you got this πŸ‘‘πŸ’…βœ¨

πŸ“¦ where this page comes from