drm_crtc_cr...ter_property(9)
β¨ drm_crtc_create_scaling_filter_property β¨
okay so this is a page straight out of the Kernel API Manual (section 9, kernel-space bestie, not your regular command-line stuff π
) and the header up top gets truncated to drm_crtc_cr...ter_property(9) because apparently even man pages have a character limit. iconic of them. anyway β let's get into it π«Ά
πΈ NAME πΈ
drm_crtc_create_scaling_filter_property β literally just: create a new scaling filter property. that's the whole vibe. β¨
π¦ SYNOPSIS π¦
int drm_crtc_create_scaling_filter_property (struct drm_crtc *crtc ,
unsigned int supported_filters );
π ARGUMENTS π
crtcβ the drm CRTC. that's it, that's the description, the man page is giving minimalism πsupported_filtersβ a bitmask of the scaling filters you support. and listen, bestie, this is not optional-optional: it must includeBIT(DRM_SCALING_FILTER_DEFAULT). no default bit, no deal. π
π DESCRIPTION π
so this function is literally just here so a driver can enable the scaling filter property on a given CRTC. that's the entire plot. driver wants the property, driver calls this, property happens. slay. π₯
β RETURN β
Zero for success, or -errno if it's not giving. π so basically: 0 = we ate, anything negative = check your errno.
π SEE ALSO π
the full group chat, no one left on read:
- Kernel file
./drivers/gpu/drm/drm_crtc.coverview(9) drm_crtc_from_index(9)standard CRTC properties(9)drm_crtc_init_with_planes(9)drmm_crtc_init_with_planes(9)drm_crtc_cleanup(9)drm_mode_getcrtc(9)drm_mode_set_config_internal(9)drm_crtc_check_viewport(9)drm_mode_setcrtc(9)drm_crtc_in_clone_mode(9)
ngl the whole property is must include BIT(DRM_SCALING_FILTER_DEFAULT) β don't come crying to me when your filter bitmask gets rejected, i warned you π«Ά
k bye bestie, this page came from ./drivers/gpu/drm, dated October 2026, and it lives in the Kernel API Manual (that's the (9) energy, iykyk) ππ§ββοΈπΈ
π¦ 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