radeon_vce_get_destroy_msg(9)
π radeon_vce_get_destroy_msg π
okay so this is a page from the Kernel API Manual, bestie β it's radeon_vce_get_destroy_msg(9), and literally all it does is generate a VCE destroy msg. that's it. that's the whole vibe. but like, in a kernel-y way, so let's get into it π
β¨ NAME β¨
radeon_vce_get_destroy_msg β generate a VCE destroy msg π¦
πΈ SYNOPSIS πΈ
int radeon_vce_get_destroy_msg (struct radeon_device *rdev , int ring ,
uint32_t handle , struct radeon_fence **fence );
like, copy that exactly, no cap, don't rearrange the args, the compiler will absolutely come for you π
π ARGUMENTS π
rdevβ aradeon_devicepointer. that's your whole radeon device, the main character of this story πringβ the ring we should submit the msg to. yes, we β you and this function, bestie, working together π«Άhandleβ the VCE session handle to use. it's the one you got handed earlier, don't lose it πfenceβ optional fence to return. optional!! so you can pass nothing and it's fine, lowkey freeing β¨
π₯ DESCRIPTION π₯
so what does it actually do on this fine October 2026 day?
it closes up a stream β either for a HW test, or because userspace failed to do it itself π (yes, that second one happens, and yes, this function is the cleanup crew showing up with a mop and a cute little attitude π ).
it's giving "somebody has to close this stream and apparently it's me" energy, and honestly? iconic. periodt. π
π SEE ALSO π
okay this is the part where the whole squad gets introduced, so let's go, all of these live in the kernel file ./drivers/gpu/drm/radeon/radeon_vce.c and you can look up any of them:
radeon_vce_init(9)radeon_vce_fini(9)radeon_vce_suspend(9)radeon_vce_resume(9)radeon_vce_idle_work_handler(9)radeon_vce_note_usage(9)radeon_vce_free_handles(9)radeon_vce_get_create_msg(9)β the create to this destroy, the duality of VCE, we love an opposites moment πradeon_vce_cs_reloc(9)radeon_vce_validate_handle(9)radeon_vce_cs_parse(9)radeon_vce_semaphore_emit(9)radeon_vce_ib_execute(9)radeon_vce_fence_emit(9)radeon_vce_ring_test(9)radeon_vce_ib_test(9)
ngl bestie, if a stream is left open, this is the one that closes it β so like, respect it π
alright that's the page!! it lives under ./drivers/gpu/drm/radeon, it's dated October 2026, and it's filed in the manual as radeon_vce_get_destroy_msg(9) β mwah, slay, go close some streams π§βπ
π¦ 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