radeon_switcheroo_set_state(9)
π NAME π
Okay bestie, welcome to the radeon_switcheroo_set_state(9) page β yes, thatβs the manual name, and this is the Kernel API Manual moment. Itβs giving set switcheroo state. Periodt. π
β¨ SYNOPSIS β¨
void radeon_switcheroo_set_state (struct pci_dev *pdev , enum
vga_switcheroo_state state );
π ARGUMENTS π
pdevβ pci dev pointer. Literally the pci dev pointer, no cap.stateβ vga_switcheroo state. Thatβs the vga_switcheroo state, bestie.
π¦ DESCRIPTION π¦
So this one is the callback for the switcheroo driver. Suspends or resumes the asics before or after it is powered up using ACPI methods. Thatβs the whole vibe β the asics get suspended or resumed around that ACPI-powered-up moment. π
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/radeon/radeon_device.c 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_can_switch(9),radeon_device_init(9),radeon_device_fini(9),radeon_gpu_reset(9)
Okay so final sign-off cuteness: source/version is ./drivers/gpu/drm/radeon, date is October 2026, and the page title is radeon_switcheroo_set_state(9). Bye bestie, slay your kernel docs! πβ¨π
π¦ 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