dpu_rm_print_state(9)
β¨ NAME β¨
dpu_rm_print_state β bestie, this one literally just outputs the RM private state π
fr fr, that's the whole gig. It's a little function from the Kernel API Manual (yes, the kernel has a manual, and yes it's iconic), and its entire main-character job is dumping out the private state of the RM. No cap.
π SYNOPSIS π
void dpu_rm_print_state (struct drm_printer *p , const struct
dpu_global_state *global_state );
okay so it returns void β nothing comes back, it's giving "the journey is the destination" π¦ β and it takes exactly two things, both listed below. Not one, not three. Two. Periodt.
πΈ ARGUMENTS πΈ
pβ a DRM printer. that's it, that's the arg. it's your printer, it's astruct drm_printer *, it's where the output goes π¨οΈβ¨global_stateβ the global state. theconst struct dpu_global_state *one. the state, but global. iykyk π
ngl, these are both extremely self-explanatory and honestly? we love a low-drama signature. no surprises, no hidden gems, just a printer and a state. π«Ά
π¦ SEE ALSO π¦
Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c β that's the home base, the source of truth, the place where it all happens π
and then the whole friend group, all of them, in order:
dpu_rm_init(9)_dpu_rm_get_lm_peer(9)_dpu_rm_check_lm_and_get_connected_blks(9)dpu_rm_release(9)dpu_rm_reserve(9)dpu_rm_reserve_sspp(9)dpu_rm_release_all_sspp(9)dpu_rm_get_assigned_resources(9)
like, that's the group chat. _dpu_rm_check_lm_and_get_connected_blks(9) is the one with the longest name and honestly she's serving main character energy for it ππ
and that's the whole page bestie!! π
cute little sign-off time: this one lives under ./drivers/gpu/drm/msm/disp/dpu1 and it's dated October 2026, so likeβ¦ mark your calendars, save the date, put it in the group chat ππ see you there, mwah π
π¦ 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