amdgpu_vce_get_destroy_msg(9)
π amdgpu_vce_get_destroy_msg(9) β the Kernel API Manual era π
okay so bestie, welcome to the glow-up of amdgpu_vce_get_destroy_msg(9), straight out of the Kernel API Manual. it's a little function with one job and honestly? it ate. β¨
β¨ NAME β¨
amdgpu_vce_get_destroy_msg β generate a VCE destroy msg ποΈπ
like, it literally builds you the breakup text for a video stream. no cap.
πΈ SYNOPSIS πΈ
int amdgpu_vce_get_destroy_msg (struct amdgpu_ring *ring , uint32_t
handle , bool direct , struct dma_fence **fence );
she returns an int, she takes four things, she's booked and busy. π
π¦ ARGUMENTS π¦
ringβ the ring we should submit the msg to π like, this is the group chat the breakup text gets sent into.handleβ the VCE session handle to use πͺͺ that's the stream's little ID badge, iykyk.directβ direct or delayed pool π pick your lane: straight there or wait in the pool.fenceβ optional fence to return π© optional!! she can hand you back a fence if you want one, no pressure.
π₯ DESCRIPTION π₯
close up a stream β that's the whole vibe. π§ either because you're doing a HW test, or because userspace failed to do so π and didn't clean up after itself. so this function steps in, main character energy, and generates the destroy msg to shut that stream down properly. periodt. π
π SEE ALSO π
kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c π
and the whole friend group, not one of them skipped:
amdgpu_vce_firmware_name(9)amdgpu_vce_early_init(9)amdgpu_vce_sw_init(9)amdgpu_vce_sw_fini(9)amdgpu_vce_entity_init(9)amdgpu_vce_suspend(9)amdgpu_vce_resume(9)amdgpu_vce_idle_work_handler(9)amdgpu_vce_ring_begin_use(9)amdgpu_vce_ring_end_use(9)amdgpu_vce_free_handles(9)amdgpu_vce_get_create_msg(9)amdgpu_vce_validate_bo(9)amdgpu_vce_cs_reloc(9)amdgpu_vce_validate_handle(9)amdgpu_vce_ring_parse_cs(9)amdgpu_vce_ring_parse_cs_vm(9)amdgpu_vce_ring_emit_ib(9)amdgpu_vce_ring_emit_fence(9)amdgpu_vce_ring_test_ring(9)amdgpu_vce_ring_test_ib(9)
fr fr go read amdgpu_vce_get_create_msg(9) too β she's the create counterpart and together they're giving matched set π«Ά
π cute little sign-off π
that's the page!! source lives over in ./drivers/gpu/drm/amd/amdgpu and this whole thing is dated October 2026 β so yeah, she's from the future, iconic behavior, we love to see it. mwah. πππ
π¦ 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