amdgpu_gfx_rlc_fini(9)
π amdgpu_gfx_rlc_fini β like, the RLC cleanup era
okay so bestie, welcome to the Kernel API Manual for amdgpu_gfx_rlc_fini(9) β yes that's the whole name, she's got a long one, we love her for it π
β¨ NAME β¨
amdgpu_gfx_rlc_fini β frees the BO that's used for RLC. that's it. that's the vibe. cleanup arc, main character energy π§Ήπ
πΈ SYNOPSIS πΈ
void amdgpu_gfx_rlc_fini(struct amdgpu_device *adev);
no cap, that's the whole signature. returns nothing (void), takes exactly one thing. iconic minimalism π
π¦ ARGUMENTS π¦
adevβ anamdgpu_devicepointer. yeah. that's the one. she's the device, she's the moment π«Ά
β DESCRIPTION β
okay so here's what's actually happening: this frees three BOs, and they're the ones used for rlc_save_restore_block, rlc_clear_state_block, and rlc_jump_table_block.
three BOs. count 'em. rlc_save_restore_block, rlc_clear_state_block, rlc_jump_table_block β all three get freed, no cap π₯
it's giving "spring cleaning but make it firmware". obsessed honestly π
π SEE ALSO π
the kernel file for this one lives at ./drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c β go read it, iykyk π
and the whole friend group, fr fr:
amdgpu_gfx_rlc_enter_safe_mode(9)amdgpu_gfx_rlc_exit_safe_mode(9)amdgpu_gfx_rlc_init_sr(9)amdgpu_gfx_rlc_init_csb(9)amdgpu_gfx_rlc_init_cpt(9)amdgpu_gfx_rlc_setup_cp_table(9)
lowkey a lil PSA: she's a fini function, so she's the one wrapping things up. don't come to her for setup, that's not her era π
and that's the page!! π this one dropped from ./drivers/gpu/drm/amd/amdgpu back in October 2026, and it's amdgpu_gfx_rlc_fini(9) from the Kernel API Manual forever and always. slay, go free those BOs πβ¨
π¦ 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