radeon_atombios_init(9)
π radeon_atombios_init(9) β the glow-up edition π
okay so bestie, this is a page out of the Kernel API Manual, and the star of the show is literally radeon_atombios_init π. It's giving "driver setup era" and honestly? iconic.
β¨ NAME β¨
radeon_atombios_init β init the driver info and callbacks for atombios π
πΈ SYNOPSIS πΈ
int radeon_atombios_init (struct radeon_device *rdev );
that's the whole vibe. one function, one pointer, zero drama π
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer, aka the main character of this whole operation π«Ά
π₯ DESCRIPTION π₯
So what does it actually do? It initializes the driver info and the register access callbacks for the ATOM interpreter β and yes, that's the r4xx+ crowd, no cap πβ¨
It returns 0 on sucess (that spelling is the manpage's, not mine, and I'm obsessed with it π) and -ENOMEM on failure, so if you see that one you know memory said "not today" π
When does it run? At driver startup, bestie. Just driver startup. That's the moment. main character energy fr fr β
π SEE ALSO π
First up, the kernel file it lives in, so you can go read the source like the little scholar you are π§:
- Kernel file
./drivers/gpu/drm/radeon/radeon_device.c
and then the whole friend group β every single one, no skipping π:
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_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_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)
lowkey a whole syllabus of cross-references and I ate every single one π
okay that's the page!! mwah π this one came from ./drivers/gpu/drm/radeon and it's dated October 2026, so write that down in your notes bestie, and go slay your driver init πβ¨π«Ά
π¦ 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