amdgpu_vce_get_destroy_msg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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