uvd_v6_0_enc_get_create_msg(9)
π 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β theamdgpuobject 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: π
uvd_v6_0_enc_support(9)uvd_v6_0_ring_get_rptr(9)uvd_v6_0_enc_ring_get_rptr(9)uvd_v6_0_ring_get_wptr(9)uvd_v6_0_enc_ring_get_wptr(9)uvd_v6_0_ring_set_wptr(9)uvd_v6_0_enc_ring_set_wptr(9)uvd_v6_0_enc_ring_test_ring(9)uvd_v6_0_enc_get_destroy_msg(9)uvd_v6_0_enc_ring_test_ib(9)uvd_v6_0_hw_init(9)uvd_v6_0_hw_fini(9)uvd_v6_0_mc_resume(9)uvd_v6_0_start(9)uvd_v6_0_stop(9)uvd_v6_0_ring_emit_fence(9)uvd_v6_0_enc_ring_emit_fence(9)uvd_v6_0_ring_emit_hdp_flush(9)uvd_v6_0_ring_test_ring(9)uvd_v6_0_ring_emit_ib(9)uvd_v6_0_enc_ring_emit_ib(9)
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
- 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