radeon_dummy_page_init(9)
π radeon_dummy_page_init(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel docs, section 9, and you land on radeon_dummy_page_init. Cute name, right? Let's get into it β¨
πΈ NAME πΈ
radeon_dummy_page_init β init dummy page used by the driver
(yes literally that's the whole job. it inits the dummy page. iconic behaviour honestly.)
π SYNOPSIS π
int radeon_dummy_page_init (struct radeon_device *rdev );
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer. that's your whole argument list, she's low maintenance π
π DESCRIPTION π
So what she does: she allocates the dummy page used by the driver β and this is for all asics, no exceptions, everyone gets a dummy page π«Ά
And what is this dummy page for? It's the driver's lil filler for gart entries when pages are taken out of the GART. basically a stunt double so nothing points at actual nothing. no cap, that's the whole gig.
Return values, listen up:
- returns
0on sucess (spelled exactly like that in the docs, I'm not fixing it, I don't make the rules π) - returns
-ENOMEMon failure
fr fr check that return value. -ENOMEM means she could not allocate, and you should not be proceeding like everything's fine π
β¨ SEE ALSO β¨
The kernel file, first of all:
./drivers/gpu/drm/radeon/radeon_device.c
and then the whole extended friend group β every single one of these, in order, no one left out π
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_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)
okay that's the page!! mwah π this came out of ./drivers/gpu/drm/radeon, dated October 2026 β go read the rest of them, iykyk πβ
periodt. π§ββοΈ
π¦ 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