radeon_scratch_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” a radeon_device pointer, 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 the get and free ones. 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