STRUCT DPU_RM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct dpu_rm(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so real talk, this page lives in the Kernel API Manual and it's literally all about struct dpu_rm β€” the DPU dynamic hardware resource manager. she's the main character who keeps track of all the hardware blocks the DPU has to hand out. iconic behaviour, no cap.


✨ NAME ✨

struct dpu_rm β€” the DPU dynamic hardware resource manager πŸ’… like, she's the one who knows where every hardware block is and who gets to use it.


πŸ¦‹ SYNOPSIS πŸ¦‹

okay bestie, here's the whole shape of her, exactly as she is, don't touch a single character:

struct dpu_rm {
    struct dpu_hw_blk *pingpong_blks[PINGPONG_MAX - PINGPONG_0];
    struct dpu_hw_blk *mixer_blks[LM_MAX - LM_0];
    struct dpu_hw_blk *ctl_blks[CTL_MAX - CTL_0];
    struct dpu_hw_intf *hw_intf[INTF_MAX - INTF_0];
    struct dpu_hw_wb *hw_wb[WB_MAX - WB_0];
    struct dpu_hw_blk *cwb_blks[CWB_MAX - CWB_0];
    struct dpu_hw_blk *dspp_blks[DSPP_MAX - DSPP_0];
    struct dpu_hw_blk *merge_3d_blks[MERGE_3D_MAX - MERGE_3D_0];
    struct dpu_hw_blk *dsc_blks[DSC_MAX - DSC_0];
    struct dpu_hw_sspp *hw_sspp[SSPP_MAX - SSPP_NONE];
    struct dpu_hw_blk *cdm_blk;
    bool has_legacy_ctls;
 };

look at her. arrays everywhere. it's giving "I organized my entire closet by colour" energy and honestly? we stan 🫢

🧩 Members 🧩

  • pingpong_blks β€” the array of pingpong hardware resources πŸ“ all of them, living their best life in here.
  • mixer_blks β€” the array of layer mixer hardware resources πŸŽ›οΈ
  • ctl_blks β€” the array of ctl hardware resources βš™οΈ
  • hw_intf β€” the array of intf hardware resources πŸ”Œ
  • hw_wb β€” the array of wb hardware resources ✨
  • dspp_blks β€” the array of dspp hardware resources πŸ’«
  • hw_sspp β€” the array of sspp hardware resources 🌸
  • cdm_blk β€” the cdm hardware resource, just the one, a solo act πŸ‘‘
  • has_legacy_ctls β€” this one's a bool, and it means the DPU uses pre-ACTIVE CTL blocks πŸ’€ so like, old-school CTLs. legacy vibes. respect the elders tho πŸ™ˆ

🌈 SEE ALSO 🌈

go look at these, i'm begging you, iykyk:

they're all right there in ./drivers/gpu/drm/msm/disp/dpu1, like a little friend group πŸ¦‹


okay that's the whole page bestie, you ate that πŸ’– this one's from ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's struct dpu_rm(9) β€” go forth and manage your hardware resources, periodt πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from