radeon_wb_init(9)
π radeon_wb_init(9) β the Kernel API Manual glow-up β¨
okay so bestie, we're in the Linux kernel API manual, and today's main character is radeon_wb_init β like, from the radeon section of the kernel docs, bestie, the whole (9) thing is giving "kernel internals, not your average shell command." π
πΈ NAME πΈ
radeon_wb_init β init the Writeback driver info and allocate memory. that's the whole vibe. lowkey iconic. π
β¨ SYNOPSIS β¨
int radeon_wb_init (struct radeon_device *rdev );
no cap, that's the whole signature. she takes one pointer and returns an int. periodt. π
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer, aka the whole radeon device struct. she needs to know which GPU we're talking about, obviously. π«Ά
π DESCRIPTION π
so what does she actually do? bestie, she disables Writeback and frees the Writeback memory β and yes, that's on all asics, every single one, no exceptions. π
this one gets used at driver startup, like the getting-ready portion of the driver's morning routine. π
and her return value? 0 on success, or a negative -error on failure. so if you see something less than zero, that's your signal that things did not slay. π
ngl the NAME line says "init β¦ and allocate memory" while the DESCRIPTION says disable and free β that's what the original page says, so I'm just reporting the facts, bestie. don't come for me π
π SEE ALSO π
the kernel file herself lives at:
./drivers/gpu/drm/radeon/radeon_device.c
and here's the whole friend group, fr fr β every single one of them:
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_fini(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)
and that's the page, bestie!! π§ source/version: ./drivers/gpu/drm/radeon, dated October 2026 β mwah, tysm for reading, ily, go read your kernel logs πβ¨
π¦ 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