radeon_scratch_init(9)
β¨ NAME β¨
radeon_scratch_init β okay so this one inits the scratch register driver info, bestie π
This is a page from the Kernel API Manual, and it's all about radeon_scratch_init. Periodt.
πΈ SYNOPSIS πΈ
void radeon_scratch_init (struct radeon_device *rdev );
That's literally it. One function, one pointer, no return value. Ate and left no crumbs π
π ARGUMENTS π
rdevβ aradeon_devicepointer, iykyk. This is your device struct, the main character of the whole operation π
π¦ DESCRIPTION π¦
So this function initializes the CP scratch register driver information π«Ά β and just so we're clear, that's the CP scratch register driver info for r1xx-r5xx cards, no cap. Ranges are r1xx through r5xx, exactly like that, don't @ me.
That's the whole vibe. It's giving setup, not chaos. β¨
π₯ SEE ALSO π₯
The source lives in the kernel file ./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_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_init(9), radeon_device_fini(9), radeon_gpu_reset(9) π
ngl, if you're here you probably also need thegetandfreeones. Free your scratch registers, bestie, it's self care π§
That's the whole page, slay π β this one's from ./drivers/gpu/drm/radeon, dated October 2026, and it's filed under radeon_scratch_init(9). Mwah, go read the kernel π
π¦ 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