drm_client_modeset_probe(9)
β¨ 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 π§
- kernel file:
./drivers/gpu/drm/drm_client_modeset.cβ go read the source, iykyk π drm_client_rotation(9)drm_client_modeset_check(9)drm_client_modeset_commit_locked(9)drm_client_modeset_commit(9)drm_client_modeset_dpms(9)drm_client_modeset_wait_for_vblank(9)
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
- 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