radeon_wb_fini(9)
π radeon_wb_fini(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to radeon_wb_fini β a function page from the Kernel API Manual, and honestly? it's short, it's sweet, and it's the cleanup queen of the radeon driver. let's get into it π
β¨ NAME β¨
radeon_wb_fini β Disable Writeback and free memory π§Ήπ
like, she turns the writeback off and gives the memory back. that's the whole vibe.
πΈ SYNOPSIS πΈ
void radeon_wb_fini (struct radeon_device *rdev );
no return value, one argument, and she's out. iconic minimalism fr fr π
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer. that's your radeon device handle, bestie. you hand her the device, she handles the writeback stuff. simple as that π«Ά
π DESCRIPTION π
so here's the tea β β radeon_wb_fini disables Writeback and then frees the Writeback memory, and it does this on all asics. yes, all of them. every single one. no exceptions, no cap πβ¨
and when does it get called? at driver shutdown. so it's the goodbye moment β she's the last one out, turning off the lights and returning the memory she borrowed. very main character energy honestly π
heads up: this is teardown code, so think "packing up at the end of the night", not "casually calling this mid-drive" β the page says it's used at driver shutdown, and that's the context to keep in mind π§
π₯ SEE ALSO π₯
the whole friend group π here's everyone the page points you to, and yes, we're listing every single one because nobody gets left out:
- the kernel file:
./drivers/gpu/drm/radeon/radeon_device.c radeon_program_register_sequence(9)radeon_surface_init(9)radeon_scratch_init(9)radeon_scratch_get(9)radeon_scratch_free(9)radeon_doorbell_init(9)radeon_doorbell_fini(9)radeon_doorbell_get(9)radeon_doorbell_free(9)radeon_wb_disable(9)radeon_wb_init(9)radeon_vram_location(9)radeon_gtt_location(9)radeon_card_posted(9)radeon_update_bandwidth_info(9)radeon_boot_test_post_card(9)radeon_dummy_page_init(9)radeon_dummy_page_fini(9)cail_pll_read(9)cail_pll_write(9)cail_mc_read(9)cail_mc_write(9)cail_reg_write(9)cail_reg_read(9)cail_ioreg_write(9)cail_ioreg_read(9)radeon_atombios_init(9)radeon_atombios_fini(9)radeon_combios_init(9)radeon_combios_fini(9)radeon_vga_set_decode(9)radeon_gart_size_auto(9)radeon_check_arguments(9)radeon_switcheroo_set_state(9)radeon_switcheroo_can_switch(9)radeon_device_init(9)radeon_device_fini(9)radeon_gpu_reset(9)
that's the roster. go read them if you want the full lore πβ
and that's the page, bestie!! short one today, but she's important β the shutdown cleanup icon that she is. this little manual lives under ./drivers/gpu/drm/radeon, dated October 2026, and goes by the very cute name radeon_wb_fini(9). mwah πβ¨π
π¦ 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