drm_mode_cr...ode_property(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_mode_create_scaling_mode_property β€” NAME

okay so bestie, welcome to the Kernel API Manual ✨ this page is literally called drm_mode_create_scaling_mode_property, and what it does is create scaling mode property. that's it. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS

int drm_mode_create_scaling_mode_property (struct drm_device *dev );

like, that's the whole signature. she's short, she's sweet, she takes exactly one argument. 😌


🌸 ARGUMENTS

  • dev β€” the DRM device. that's it, that's the bestie. your whole graphics situation πŸ’–

⭐ DESCRIPTION

so here's the tea, bestie: a driver calls this the first time it's needed. that's the rule, okay? not before. and once you've made the property, it must be attached to the desired connectors β€” no leaving it floating around unattached, that's giving orphan energy and we don't do that here πŸ’€

✨ important icon behaviour alert ✨ Atomic drivers should use drm_connector_attach_scaling_mode_property instead β€” because that's the one that correctly assigns drm_connector_state.scaling_mode in the atomic state. like, do it the right way or don't do it at all, bestie. no cap. 🫢

fr fr, the atomic path is right there and it's iconic β€” go use it.


πŸ”₯ RETURN

0

yep. just 0. the whole return value. she ate and left no crumbs 😭 isn't it gorgeous


πŸ‘‘ SEE ALSO

okay this is the long part, so grab a snack πŸ“ β€” literally every one of these is below, in order, no skips, no cuts, because we do not leave anyone out of the group chat:

(yes, standard connector properties(9) shows up twice in there β€” not a typo on my end, she's just like that πŸ’… and we love her for it.)


and that's the page, bestie!! 🌈 this one came out of ./drivers/gpu/drm, dated October 2026, and it's page drm_mode_cr...ode_property(9) of the Kernel API Manual β€” ty for reading, mwah πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from