uvd_v6_0_enc_get_create_msg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… uvd_v6_0_enc_get_create_msg β€” the kernel API manual, bestie edition πŸŽ€

Okay so this is a page straight out of the Kernel API Manual, and the star of the show is uvd_v6_0_enc_get_create_msg(9). Yes the name is a whole mouthful, yes it's giving "my parents named me after a regex," but she's iconic and we're gonna get through it together. 🫢


✨ NAME ✨

uvd_v6_0_enc_get_create_msg β€” literally just generates a UVD ENC create msg. That's the vibe. That's the whole job. πŸ’–


🌸 SYNOPSIS 🌸

int uvd_v6_0_enc_get_create_msg (struct amdgpu_ring *ring , uint32_t
handle , struct amdgpu_bo *bo , struct dma_fence **fence );

Look at that signature. Four parameters. She's stacked, she's returning an int, she's not here to play. Copy it EXACTLY if you're typing it out, bestie β€” no creative liberties, I'm begging. 😭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ring β€” the ring we should submit the msg to. Like, this is the lane she's driving in. 🏎️
  • handle β€” the session handle to use. Your little backstage pass. 🎟️
  • bo β€” the amdgpu object for which we query the offset. We're asking her where she lives, respectfully. πŸ“
  • fence β€” an optional fence to return. Optional! She can ghost you and that's legal. πŸ’€

πŸ‘‘ DESCRIPTION πŸ‘‘

Open up a stream for HW test. That's it. That's the whole description, and honestly? Slaying with minimal words is main character energy. 🌈

She's not gonna over-explain herself. She opens a stream, she's for testing hardware, she moves on. Periodt. ⭐

Ngl, the description is short but the facts are all there β€” don't go adding lore that isn't in the source, bestie. 🧚

πŸ“ SEE ALSO πŸ“

First up, the actual kernel file, because we stan primary sources:

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c

And now the whole friend group β€” every single one of these, no skipping, they all get their moment: πŸŽ€

Like, that's the entire squad. Get/set rptr, get/set wptr, the fence emitters, the IB emitters, the hw init/fini, the mc_resume, start and stop β€” everybody's invited. πŸ’œ


And that's the page! Sourced from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's uvd_v6_0_enc_get_create_msg(9) all the way down. Go open that stream, bestie β€” HW test awaits. πŸ’…πŸ”₯πŸ¦‹

πŸ“¦ where this page comes from