drm_client_s...h_color_mode(9)
π drm_client_setup_with_color_mode(9)
okay so real talk bestie, we're in the Kernel API Manual today β this is the page for drm_client_setup_with_color_mode(9) and honestly? it's a little retro, a little "you're on thin ice", and we're gonna get through it together π«Ά
β¨ NAME β¨
drm_client_setup_with_color_mode β Setup in-kernel DRM clients for color mode π
literally that's the whole vibe. it sets up the in-kernel DRM clients, but with color mode energy.
π SYNOPSIS π
void drm_client_setup_with_color_mode (struct drm_device *dev , unsigned
int color_mode );
no cap, that's the exact signature. two args, no return, void queen π
πΈ ARGUMENTS πΈ
devβ the DRM device. your main character struct π₯οΈcolor_modeβ the preferred color mode for the device. key word preferred, she's not out here guaranteeing anything π
π¦ DESCRIPTION π¦
so what does she do? she sets up the in-kernel DRM clients. that's it, that's the job π
It is equivalent to drm_client_setup, but expects a color mode as second argument. that's the whole plot twist β same function, but the second argument is a color mode instead of whatever else.
β οΈ okay this part matters, bestie, do not scroll past: Do not use this function in new drivers. Preferdrm_client_setupwith a format ofNULL. do not use this function in new drivers! i'm so serious π new drivers usedrm_client_setupwith a format ofNULL. iykyk.
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/clients/drm_client_setup.c drm_client_setup(9)drm_client_setup_with_fourcc(9)
go read those too, bestie, they're the whole friend group π§
mwah π that's the page! shoutout to the source path ./drivers/gpu/drm/clients, the October 2026 date, and drm_client_s...h_color_mode(9) β see you in the group chat, periodt β¨
π¦ 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