msm_disp_snapshot_add_block(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so welcome to the Kernel API Manual page for msm_disp_snapshot_add_block(9) β€” the function that adds a hardware block with its register dump. bestie, we're getting into it πŸ’–


✨ NAME ✨

msm_disp_snapshot_add_block β€” add a hardware block with its register dump. yes, that's the whole vibe: block + register dump, together, slay.


🌸 SYNOPSIS 🌸

void msm_disp_snapshot_add_block (struct msm_disp_state *disp_state ,
       u32 len , void __iomem *base_addr , const char *fmt , ... );

πŸ’… ARGUMENTS πŸ’…

  • disp_state β€” handle to struct msm_disp_state. this is your main-character state object, okay?
  • len β€” size of the register space of the hardware block. literally how much register space we're working with.
  • base_addr β€” starting address of the register space of the hardware block. the starting point, iykyk.
  • fmt β€” format in which the block names need to be printed. format-string energy fr fr.
  • ... β€” variable arguments. the lil extras.

πŸŽ€ RETURN πŸŽ€

none. no return value bestie β€” it's giving void πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/msm/disp/msm_disp_snapshot.h β€” go read up, bestie:


mwah πŸ’– this iconic little page lives in ./drivers/gpu/drm/msm/disp, and it's the October 2026 version of msm_disp_snapshot_add_block(9). periodt 🫢

πŸ“¦ where this page comes from