STRUCT MSM_DISP_STATE_BLOCK(9)
π struct msm_disp_state_block(9)
okay bestie, welcome to the Kernel API Manual entry for struct msm_disp_state_block β and yes, this is the whole entire personality of this page: it's a little struct that holds onto one hardware block's state. that's it. that's the vibe. π
β¨ NAME β¨
struct msm_disp_state_block β the structure that stores each hardware block's state πΎβ¨ like it's literally the group chat's screenshot folder but for registers.
π¦ SYNOPSIS π¦
here's the whole thing, no edits, no cuts, i would never:
struct msm_disp_state_block {
char name[SZ_128];
struct list_head node;
unsigned int size;
u32 *state;
void __iomem *base_addr;
};
that's the struct. five members. iconic. no cap. π₯
πΈ Members πΈ
okay so let's meet the members one by one, they're all main characters in their own way π«Ά
nameβ the name of the block. literally just the block's name bestie, so you know who's who πnodeβ the handle to the linked list head. it's how this block stays connected to the rest of the list, like it's holding hands with the group πsizeβ the size of the register space of this hardware block. so how much register room this block gets to take up πβ¨stateβ the array holding the register dump of this hardware block. this is the actual tea β β the dumped registers live right here.base_addrβ the starting address of this hardware block's register space. the origin point, the home base, the "you are here" pin on the map ππ
ngl there are no options and no exit codes on this page β it's a struct, not a command. no flags to remember, we love a low-effort queen π
π SEE ALSO π
go read these next, i'm obsessed with the whole family fr fr π§
- Kernel file
./drivers/gpu/drm/msm/disp/msm_disp_snapshot.h struct msm_disp_state(9)msm_disp_snapshot_init(9)msm_disp_snapshot_destroy(9)msm_disp_snapshot_state_sync(9)msm_disp_snapshot_state(9)msm_disp_state_print(9)msm_disp_snapshot_capture_state(9)msm_disp_state_free(9)msm_disp_snapshot_add_block(9)
aaaand that's the page!! π this little angel of a manpage lives over in ./drivers/gpu/drm/msm/disp and it's dated October 2026 β so like, future-core of it all πβ¨ slay.
π¦ 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