drm_crtc_at...lor_property(9)
π NAME π
okay so bestie, meet drm_crtc_attach_background_color_property β the function whose whole entire job is attaching the background color property. that's it. that's the gig. she's a one-task queen and she ate. β¨
(this one lives in the Kernel API Manual, iykyk π)
π¦ SYNOPSIS π¦
void drm_crtc_attach_background_color_property (struct drm_crtc *crtc );
no cap, that's the whole signature. no return value, no drama, just vibes and a void. π
πΈ ARGUMENTS πΈ
crtcβ literally adrm crtc. that's the description. that's what the manpage says. she's giving minimalism, she's giving mysterious, and honestly? iconic. π«Ά this is the CRTC you're handing over so the property can be attached to it.
β¨ DESCRIPTION β¨
so what does she actually do? she attaches the background color property to crtc. simple. clean. main character energy. π
here's the tea though, bestie β that property defaults to solid black. like, out-of-the-box, zero-config, pure void black. π€
and when you do wanna set it, it accepts 64-bit ARGB values, and those values need to be in the format that the DRM_ARGB64_PREP*() helpers generate. so don't just yeet random numbers at it, okay? use the helpers. they exist for a reason. π₯
ngl the whole thing is very "attach and go" β no error to check, no return value to obsess over. she just does the thing. periodt. π
π§ SEE ALSO π§
the friend group π«Ά go read these next:
- the Kernel file
./drivers/gpu/drm/drm_blend.coverview(9) drm_plane_create_alpha_property(9)drm_plane_create_rotation_property(9)drm_rotation_simplify(9)drm_plane_create_zpos_property(9)drm_plane_create_zpos_immutable_property(9)drm_atomic_normalize_zpos(9)drm_plane_create_blend_mode_property(9)
like, the whole blend/property cinematic universe. π
and that's the page, bestie!! π this cutie came out of ./drivers/gpu/drm, dated October 2026, filed under the Kernel API Manual β go forth and attach those background colors, you absolute icon βπ
π¦ 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