sdma_v4_4_2...e_reset_mask(9)
π sdma_v4_4_2_update_reset_mask(9) π
okay so bestie, grab a lil snack π because we're diving into the Kernel API Manual β yes, that's the manual name, it's giving very official, very demure, very "i read manpages for fun" energy and honestly? iconic. this one's about sdma_v4_4_2_update_reset_mask and it's a whole function, so let's get into it β¨
πΈ NAME πΈ
sdma_v4_4_2_update_reset_mask β update reset mask for SDMA
like, that's literally the whole job. update the reset mask. for SDMA. slay π
β¨ SYNOPSIS β¨
void sdma_v4_4_2_update_reset_mask (struct amdgpu_device *adev );
no cap, that's the entire signature β returns void, takes one pointer, done. lowkey elegant π
π¦ ARGUMENTS π¦
adevβ Pointer to the AMDGPU device structure. that's your main character right there π it's a pointer, it's astruct amdgpu_device, and it's the one and only thing this function needs from you. give it the device and let it cook.
π DESCRIPTION π
so what does this actually do? this function update reset mask for SDMA β and it also sets the supported reset types based on the IP version and firmware versions π
the way that it's checking both the IP version and the firmware versions... it's doing a vibe check on your hardware before deciding which reset types are even allowed. fr fr, different versions = different supported reset types, and this function is the one that figures that out and updates the mask accordingly β¨
ngl it's a small function but it's an important one β it's the gatekeeper of "what can we actually reset around here" ππ«Ά
π§ SEE ALSO π§
bestie there are SO many siblings, here's the whole family reunion π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_init_microcode(9)sdma_v4_4_2_ring_get_rptr(9)sdma_v4_4_2_ring_get_wptr(9)sdma_v4_4_2_ring_set_wptr(9)sdma_v4_4_2_page_ring_get_wptr(9)sdma_v4_4_2_page_ring_set_wptr(9)sdma_v4_4_2_ring_emit_ib(9)sdma_v4_4_2_ring_emit_hdp_flush(9)sdma_v4_4_2_ring_emit_fence(9)sdma_v4_4_2_inst_gfx_stop(9)sdma_v4_4_2_inst_rlc_stop(9)sdma_v4_4_2_inst_page_stop(9)sdma_v4_4_2_inst_ctx_switch_enable(9)sdma_v4_4_2_inst_enable(9)sdma_v4_4_2_gfx_resume(9)sdma_v4_4_2_page_resume(9)sdma_v4_4_2_inst_rlc_resume(9)sdma_v4_4_2_inst_load_microcode(9)sdma_v4_4_2_inst_start(9)sdma_v4_4_2_ring_test_ring(9)sdma_v4_4_2_ring_test_ib(9)sdma_v4_4_2_vm_copy_pte(9)sdma_v4_4_2_vm_write_pte(9)sdma_v4_4_2_vm_set_pte_pde(9)sdma_v4_4_2_ring_pad_ib(9)sdma_v4_4_2_ring_emit_pipeline_sync(9)sdma_v4_4_2_ring_emit_vm_flush(9)sdma_v4_4_2_emit_copy_buffer(9)sdma_v4_4_2_emit_fill_buffer(9)
ok that's the whole page bestie, no notes, you ate that π«Άβ¨
and that's a wrap on this lil manpage!! brought to you straight out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β so yeah, future vibes only π¦π mwah, go update some reset masks, ily ππ
π¦ 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