_dpu_rm_che...nnected_blks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ _dpu_rm_che...nnected_blks(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… β€” yes, the whole function name is literally _dpu_rm_check_lm_and_get_connected_blks and no, we are not abbreviating it, the header up there is just being dramatic and cutting it off. pull up a chair, this one's a vibe check on whether your layer mixer + its hardwired besties (looking at you, pingpong πŸ‘€) are actually available before you go reserving them.


🌸 NAME 🌸

_dpu_rm_check_lm_and_get_connected_blks β€” checks if the proposed layer mixer meets the proposed use case requirements, including hardwired dependent blocks like pingpong 🫢

πŸŽ€ SYNOPSIS πŸŽ€

bool _dpu_rm_check_lm_and_get_connected_blks (struct dpu_rm *rm , struct
dpu_global_state *global_state , uint32_t crtc_id , int lm_idx , int
*pp_idx , int *dspp_idx , struct msm_display_topology *topology );

like, yes that's the whole signature, and yes it returns a bool β€” she's a yes-or-no girlie πŸ’–

πŸ¦‹ ARGUMENTS πŸ¦‹

  • rm β€” the dpu resource manager handle πŸ—‚οΈ your whole resource situation lives in here
  • global_state β€” resources shared across multiple kms objects 🌈 (shared custody, basically)
  • crtc_id β€” the crtc id that's requesting the allocation πŸ™‹β€β™€οΈ she's asking, politely
  • lm_idx β€” the index of the proposed layer mixer in rm->mixer_blks[]. the function checks whether this lm β€” plus all the other hardwired blocks connected to the lm (pp) β€” is available and appropriate ✨
  • pp_idx β€” output parameter 🫢 the index of the pingpong block attached to the layer mixer, living in rm->pingpong_blks[].
  • dspp_idx β€” output parameter πŸ’œ the index of the dspp block attached to the layer mixer, in rm->dspp_blks[].
  • topology β€” the selected topology for the display πŸ–ΌοΈ the whole look she's going for
real talk: pp_idx and dspp_idx are output parameters β€” they're where the function hands you back the indices it found. don't come for her if they're not what you expected going in πŸ™ˆ

⭐ RETURN ⭐

true if the lm matches all the requirements βœ…πŸ’… false otherwise ❌😭

it's giving simple, it's giving honest. no cap.

πŸ”₯ SEE ALSO πŸ”₯

kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c β€” and her whole friend group:


and that's the whole page bestie 🧚✨ sign-off time: this one lives in ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and yeah, the running header still says _dpu_rm_che...nnected_blks(9) because even the manpage generator gave up halfway through that name πŸ’€πŸ’– ily, go check your layer mixers πŸŽ€

πŸ“¦ where this page comes from