vsp1_dl_list_add_body(9)
β¨ vsp1_dl_list_add_body(9) β¨
okay bestie, welcome to the vsp1_dl_list_add_body page from the Kernel API Manual π this one's lowkey short but it's giving "small but mighty" and the ownership rules are literally the main character here, so pay attention fr fr π«Ά
πΈ NAME πΈ
vsp1_dl_list_add_body β add a body to the display list π
β¨ SYNOPSIS β¨
int vsp1_dl_list_add_body (struct vsp1_dl_list *dl , struct vsp1_dl_body
*dlb );
π ARGUMENTS π
dlβ the display list πdlbβ the body π¦
π DESCRIPTION π
So what this does is add a display list body to a display list, periodt. The registers that live inside bodies get processed after the registers in the main display list, and they go in the order the bodies were added β first in, first processed, no cap π§
β οΈ okay this part is important, don't skip it: adding a body to a display list passes ownership of the body to the list. The caller does retain its reference to the body when adding it to the display list, but it is not allowed to add new entries to the body. Like, at all. π
And because of that ownership situation, the reference must be explicitly released by a call to vsp1_dl_body_put when the body isn't needed anymore. Not optional, bestie β explicit release only π
π¦ SEE ALSO π¦
Kernel file ./drivers/media/platform/renesas/vsp1/vsp1_dl.c and honestly the whole friend group:
struct vsp1_dl_ext_header(9)struct vsp1_pre_ext_dl_body(9)struct vsp1_dl_body(9)struct vsp1_dl_body_pool(9)struct vsp1_dl_cmd_pool(9)struct vsp1_dl_list(9)struct vsp1_dl_manager(9)vsp1_dl_body_pool_create(9)vsp1_dl_body_pool_destroy(9)vsp1_dl_body_get(9)vsp1_dl_body_put(9)vsp1_dl_body_write(9)vsp1_dl_cmd_pool_create(9)vsp1_dl_list_get(9)vsp1_dl_list_put(9)vsp1_dl_list_get_body0(9)vsp1_dl_list_add_chain(9)vsp1_dlm_irq_frame_end(9)
that's the whole page, you ate that π
this lil beauty comes from ./drivers/media/platform/renes... and the date on it is October 2026, version vsp1_dl_list_add_body(9) β mwah, go forth and release your references properly πβπ
π¦ 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