uvd_v7_0_ri..._cs_in_place(9)
π uvd_v7_0_ring_patch_cs_in_place β the kernel API manual, bestie edition π
okay so you're in the Kernel API Manual and you just found uvd_v7_0_ri..._cs_in_place(9), bless. Let's get into it π
β¨ NAME β¨
uvd_v7_0_ring_patch_cs_in_place β literally patching the IB for command submission. that's the whole vibe. she patches. in place. iconic π
πΈ SYNOPSIS πΈ
int uvd_v7_0_ring_patch_cs_in_place (struct amdgpu_cs_parser *p , struct amdgpu_job *job , struct amdgpu_ib *ib );
so she takes three structs and hands you back an int. that's it, that's the energy π«Ά
π¦ ARGUMENTS π¦
pβ the CS parser with the IBs. she's the one holding all the IBs, main character of the parse β¨jobβ which job this ib is in. like, which group chat does this message belong to π«Άibβ which IB to patch. hi bestie, you're the one getting patched today π
π SEE ALSO π
the kernel file this whole situation lives in, no cap:
./drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
and her whole friend group, all showing up to the function party π:
uvd_v7_0_ring_get_rptr(9)uvd_v7_0_enc_ring_get_rptr(9)uvd_v7_0_ring_get_wptr(9)uvd_v7_0_enc_ring_get_wptr(9)uvd_v7_0_ring_set_wptr(9)uvd_v7_0_enc_ring_set_wptr(9)uvd_v7_0_enc_ring_test_ring(9)uvd_v7_0_enc_get_create_msg(9)uvd_v7_0_enc_get_destroy_msg(9)uvd_v7_0_enc_ring_test_ib(9)uvd_v7_0_hw_init(9)uvd_v7_0_hw_fini(9)uvd_v7_0_mc_resume(9)uvd_v7_0_start(9)uvd_v7_0_stop(9)uvd_v7_0_ring_emit_fence(9)uvd_v7_0_enc_ring_emit_fence(9)uvd_v7_0_ring_emit_hdp_flush(9)uvd_v7_0_ring_test_ring(9)uvd_v7_0_ring_emit_ib(9)uvd_v7_0_enc_ring_emit_ib(9)
no cap, read the source file before you go poking at IBs fr fr π
and that's the tea, bestie β mwah π
this lil beauty comes from ./drivers/gpu/drm/amd/amdgpu and she's dated October 2026 β write it down, girlies, because the page header says uvd_v7_0_ri..._cs_in_place(9) and the footer says the exact same thing. symmetrical. obsessed. ππ
π¦ 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