__vc4_crtc_init(9)
β¨ __vc4_crtc_init(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this is the page for __vc4_crtc_init, and yes it's the one with the double underscore, we do NOT drop the underscores, they're load-bearing π«Ά
πΈ NAME πΈ
__vc4_crtc_init β Initializes a CRTC π
π¦ SYNOPSIS π¦
int __vc4_crtc_init (struct drm_device *drm , struct platform_device
*pdev , struct vc4_crtc *vc4_crtc , const struct vc4_crtc_data *data ,
struct drm_plane *primary_plane , const struct drm_crtc_funcs
*crtc_funcs , const struct drm_crtc_helper_funcs *crtc_helper_funcs ,
bool feeds_txp );
like, that's a LOT of arguments and every single one is doing the most, but we respect it π
π ARGUMENTS π
drmβ DRM Device. the whole big picture energy β¨pdevβ CRTC Platform Device π§vc4_crtcβ CRTC Object to Initialize. the main character being born fr π«dataβ Configuration data associated with this CRTC πΈprimary_planeβ Primary plane for CRTC π¦crtc_funcsβ Callbacks for the new CRTC πcrtc_helper_funcsβ Helper Callbacks for the new CRTC π«Άfeeds_txpβ Is this CRTC connected to the TXP? like an actualbool, yes or no, iconic question π
π₯ DESCRIPTION π₯
So what it does is: it initializes our private CRTC structure π
β οΈ and this is the part you NEED to hear: this function is mostly relevant for KUnit testing, and all other users should usevc4_crtc_initinstead. not__vc4_crtc_init. the regular one. no underscores. write it down bestie π
β RETURN β
0 on success π, and a negative error code on failure π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/vc4/vc4_crtc.cπ - VC4 CRTC module(9) π
and that's the whole page, no cap β¨ big love to the ./drivers/gpu/drm/vc4 source, this little October 2026 edition of the Kernel API Manual β slay, ate, 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