uvd_v6_0_enc..._destroy_msg(9)
π NAME π
ok so bestie, welcome to uvd_v6_0_enc_get_destroy_msg β like the title says, this one generates a UVD ENC destroy msg π
and yeah, it lives in the Kernel API Manual, section 9, so you know it's fancy kernel-level business.
β¨ SYNOPSIS β¨
int uvd_v6_0_enc_get_destroy_msg (struct amdgpu_ring *ring , uint32_t
handle , struct amdgpu_bo *bo , struct dma_fence **fence );
like that's the whole vibe, returning an int and taking four little friends πΈ
π«Ά ARGUMENTS π«Ά
here's the cast of characters, no cap:
ringβ the ring we should submit the msg to π« that's where the message goes, we don't make the ruleshandleβ session handle to use, aka the lil ID for the session you're working with πboβ amdgpu object for which we query the offset, yes bestie we're asking it for the offset πfenceβ optional fence to return, and it's optional so don't stress if you're not using it π
π DESCRIPTION π
ok so picture this: it closes up a stream for HW test β or, plot twist, if userspace failed to do so π like sometimes userspace just doesn't do the homework and the kernel has to clean up after it. either way, this function is the one closing the stream, periodt.
π₯ SEE ALSO π₯
the whole friend group lives in the kernel file ./drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c π and here's everyone, literally the full roster:
uvd_v6_0_enc_support(9)uvd_v6_0_ring_get_rptr(9)uvd_v6_0_enc_ring_get_rptr(9)uvd_v6_0_ring_get_wptr(9)uvd_v6_0_enc_ring_get_wptr(9)uvd_v6_0_ring_set_wptr(9)uvd_v6_0_enc_ring_set_wptr(9)uvd_v6_0_enc_ring_test_ring(9)uvd_v6_0_enc_get_create_msg(9)uvd_v6_0_enc_ring_test_ib(9)uvd_v6_0_hw_init(9)uvd_v6_0_hw_fini(9)uvd_v6_0_mc_resume(9)uvd_v6_0_start(9)uvd_v6_0_stop(9)uvd_v6_0_ring_emit_fence(9)uvd_v6_0_enc_ring_emit_fence(9)uvd_v6_0_ring_emit_hdp_flush(9)uvd_v6_0_ring_test_ring(9)uvd_v6_0_ring_emit_ib(9)uvd_v6_0_enc_ring_emit_ib(9)
that's the page bestie, go forth and destroy those msgs responsibly π
anyway signing off π¦ β this one's straight out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and yeah it's still uvd_v6_0_enc..._destroy_msg(9) in case you forgot the abbrev already ππ
π¦ 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