mtk_drm_of_...th_build_one(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🫢 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 device
  • cpath β€” CRTC Path relative to a VDO or MMSYS
  • out_path β€” Pointer to an array that will contain the new pipeline
  • out_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