radeon_vce_get_destroy_msg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” a radeon_device pointer. 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:


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