radeon_progr...ter_sequence(9)
β¨ radeon_program_register_sequence(9) β¨
okay so bestie, this one lives in the Kernel API Manual and the name is honestly a whole mouthful β the page header literally truncates it to radeon_progr...ter_sequence(9) π β but the actual function is radeon_program_register_sequence, and it's lowkey iconic once you get what it does. it's giving "helper function that does one job and does it well" energy. periodt.
πΈ NAME πΈ
radeon_program_register_sequence β program an array of registers. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
void radeon_program_register_sequence (struct radeon_device *rdev ,
const u32 *registers , const u32 array_size );
no cap, that's the signature. keep it exactly like that, spacing and all, don't come for me π
π ARGUMENTS π
rdevβ aradeon_devicepointer. it's the radeon device you're working with, bestie, the main character of the operation πregistersβ pointer to the register array. yes, the actual array of registers you want programmed π§array_sizeβ the size of the register array. so the function knows how far to walk down that array, iykyk π
β DESCRIPTION β
so what it does: it programs an array or registers with and and or masks. literally exactly that β that's the original wording and i'm not gonna pretend it's anything fancier π
and that's it! that's the whole description. it's a helper for setting golden registers π β like, you hand it the array, it does the and/or mask thing, everybody goes home happy. no extra lore in the source, so no extra lore from me, fr fr.
ngl the "an array or registers" is what the page says β i'm keeping it verbatim because the facts do not move. ask the kernel, not me π
π₯ SEE ALSO π₯
the whole friend group, in the order the page lists them π:
- Kernel file
./drivers/gpu/drm/radeon/radeon_device.cβ that's where this function calls home π 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_init(9)radeon_device_fini(9)radeon_gpu_reset(9)
that's all thirty-eight of them, bestie, go read them too, i believe in you π«Ά
alright that's the page!! and before i go β the source path on the footer is ./drivers/gpu/drm/radeon and the version date is October 2026, so like. shoutout to the radeon directory and its very futuristic timestamp πΈβ¨ bye bestie, go program some registers π
π¦ 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