radeon_device_init(9)
π NAME π
okay bestie, welcome to radeon_device_init(9) from the Kernel API Manual. This page is literally about radeon_device_init - initialize the driver β it's giving driver-startup main character energy, and we're gonna go through every arg and every ref, no cap. π
β¨ SYNOPSIS β¨
the whole flex is this signature, and yes you copy it exactly:
int radeon_device_init (struct radeon_device *rdev , struct drm_device
*ddev , struct pci_dev *pdev , uint32_t flags );
π ARGUMENTS π
four args, bestie β here's the vibe check on each:
rdevβ radeon_device pointer π«Άddevβ drm dev pointer β¨pdevβ pci dev pointer π¦flagsβ driver flags π
π¦ DESCRIPTION π¦
so what does it actually do? It initializes the driver info and hw (all asics). That's the whole description, and it's iconic. Returns 0 for success or an error on failure. Called at driver startup. πΈ
lowkey important: success is 0, failure is an error. That's the contract, no cap. π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/radeon/radeon_device.c β that's the source file, bestie, and it's right in the SEE ALSO section. The whole friend group is here:
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_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_fini(9)radeon_gpu_reset(9)
β§ο½₯οΎ: okay that's the whole page, bestie! Sign-off from the footer: source/version ./drivers/gpu/drm/radeon, date October 2026, page radeon_device_init(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