mtk_drm_of_...th_build_one(9)
π«Ά mtk_drm_of_...th_build_one(9) π«Ά
okay so welcome to the Kernel API Manual, bestie β this is the page for mtk_drm_of_...th_build_one(9), and the actual function itβs about is mtk_drm_of_ddp_path_build_one. yes, the title is a little cryptic, but we move π
π NAME π
mtk_drm_of_ddp_path_build_one β Build a Display HW Pipeline for a CRTC Path
β¨ SYNOPSIS β¨
int mtk_drm_of_ddp_path_build_one (struct device *dev , enum
mtk_crtc_path cpath , const unsigned int **out_path , unsigned int
*out_path_len );
π ARGUMENTS π
devβ The mediatek-drm devicecpathβ CRTC Path relative to a VDO or MMSYSout_pathβ Pointer to an array that will contain the new pipelineout_path_lenβ Number of entries in the pipeline array
πΈ DESCRIPTION πΈ
okay so MediaTek SoCs are kinda extra in the best way: they can use different DDP hardware pipelines (or paths) depending on the board-specific desired display configuration. This function literally walks through all of the output endpoints starting from a VDO or MMSYS hardware instance and builds the right pipeline as specified in device trees. main character energy fr fr π¦
π₯ RETURN π₯
0β Display HW Pipeline successfully built and validated-ENOENTβ Display pipeline was not specified in device tree-EINVALβ Display pipeline built but validation failed-ENOMEMβ Failure to allocate pipeline array to pass to the caller
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/mediatek/mtk_drm_drv.c
and thatβs the whole page, bestie π this one lives under ./drivers/gpu/drm/mediatek, itβs dated October 2026, and the footer wraps up with mtk_drm_of_...th_build_one(9) β 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