amdgpu_uvd_cs_packets(9)
π amdgpu_uvd_cs_packets β parse UVD packets
okay so bestie, welcome to the Kernel API Manual entry for amdgpu_uvd_cs_packets(9), and ngl this one is short but she's important π
β¨ NAME β¨
amdgpu_uvd_cs_packets β parse UVD packets π¦
πΈ SYNOPSIS πΈ
int amdgpu_uvd_cs_packets (struct amdgpu_uvd_cs_ctx *ctx , int
(*cb)(struct amdgpu_uvd_cs_ctx *ctx) );
likeβ¦ that's the whole signature, she's giving "short and mysterious" π
π ARGUMENTS π
ctxβ the UVD parser context π think of it as the little bag she carries all her state in.cbβ callback function β¨ yes, a function pointer, she takes astruct amdgpu_uvd_cs_ctx *ctxand hands you back anint, no cap.
π₯ DESCRIPTION π₯
Parse the command stream packets. periodt π that's literally the whole description, she said "I said what I said" and honestly? iconic.
so yeah β she walks the command stream, packet by packet, y'all π§
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.cβ go read the source bestie, it's all there π amdgpu_uvd_entity_init(9)amdgpu_uvd_cs_pass1(9)amdgpu_uvd_cs_msg_decode(9)amdgpu_uvd_cs_msg(9)amdgpu_uvd_cs_pass2(9)amdgpu_uvd_cs_reg(9)amdgpu_uvd_ring_parse_cs(9)amdgpu_uvd_ring_test_ib(9)amdgpu_uvd_used_handles(9)
π«Ά and that's the whole page!! this one comes to you straight from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, living in the Kernel API Manual β mwah, go touch some registers bestie ππΈ
π¦ 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