amdgpu_vce_ring_test_ib(9)
π amdgpu_vce_ring_test_ib(9)
okay so bestie, welcome to the Kernel API Manual β yes we're literally in kernel-land today, and no, it's not scary, i promise π«Ά
β¨ NAME β¨
amdgpu_vce_ring_test_ib β the girl whose whole job is to test if VCE IBs are working π
like, that's it. that's her whole personality. she checks the thing. iconic behavior honestly.
π SYNOPSIS π
int amdgpu_vce_ring_test_ib (struct amdgpu_ring *ring , long timeout );
yes the spacing is a little chaotic, no we're not fixing it, it's part of the vibe now πΈ
π¦ ARGUMENTS π¦
ringβ the engine to test on. like... which ring are we doing a vibe check on, bestie? this one. right here. πtimeoutβ timeout value in jiffies, orMAX_SCHEDULE_TIMEOUT. so either a real number of jiffies or the big "we're waiting forever, and that's fine" constant. no cap, that constant is doing the most π
π SEE ALSO π
the source file lives at Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c β yes that's the whole path, go read it, it's giving main character energy π₯
and now, the friend group π«Ά β every single one of these, no skips:
amdgpu_vce_firmware_name(9)amdgpu_vce_early_init(9)amdgpu_vce_sw_init(9)amdgpu_vce_sw_fini(9)amdgpu_vce_entity_init(9)amdgpu_vce_suspend(9)amdgpu_vce_resume(9)amdgpu_vce_idle_work_handler(9)amdgpu_vce_ring_begin_use(9)amdgpu_vce_ring_end_use(9)amdgpu_vce_free_handles(9)amdgpu_vce_get_create_msg(9)amdgpu_vce_get_destroy_msg(9)amdgpu_vce_validate_bo(9)amdgpu_vce_cs_reloc(9)amdgpu_vce_validate_handle(9)amdgpu_vce_ring_parse_cs(9)amdgpu_vce_ring_parse_cs_vm(9)amdgpu_vce_ring_emit_ib(9)amdgpu_vce_ring_emit_fence(9)amdgpu_vce_ring_test_ring(9)
that's the whole squad, periodt πβ
fr fr though:timeoutis in jiffies, not seconds, not millis, not vibes. andMAX_SCHEDULE_TIMEOUTis the "wait basically forever" option. don't come for me if you pass seconds bestie π
and that's the page!! brought to you by the lovely humans of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and we're out here repping amdgpu_vce_ring_test_ib(9) until the end of time ππ§ββοΈ mwah, go test those IBs π
π¦ 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