amdgpu_devi...uld_use_aspm(9)
π amdgpu_devi...uld_use_aspm(9) β a very serious kernel thing, bestie
okay so you found an actual kernel API manual page, and it's from the Kernel API Manual (yes that's the real manual name, no I'm not joking), and honestly? it's a tiny one. a lil baby function. but we're gonna treat it like the main character it is π
β¨ NAME β¨
amdgpu_device_should_use_aspm β bestie, this one literally just checks whether the device should program ASPM. that's the whole job. that's the assignment. π
π¦ SYNOPSIS π¦
bool amdgpu_device_should_use_aspm (struct amdgpu_device *adev );
look at her. one argument. returns a bool. clean, simple, iconic. β¨
πΈ ARGUMENTS πΈ
adevβ anamdgpu_devicepointer. that's it, that's the whole argument list. she doesn't need more. lowkey minimal queen energy π
π DESCRIPTION π
so here's the vibe check: this function confirms whether the module parameter and the pcie bridge are, like, in agreement that ASPM should be set for this device. both of them have to be on the same page β it's giving two friends who both need to say yes before you can go out π
and then it tells you:
- returns true if ASPM should be used
- returns false if it should not
periodt. that's the whole function. no cap, that's genuinely all of it. π₯
ngl this is the kind of tiny helper function you absolutely do not want to guess at, so likeβ¦ read it before you assume anything π
π SEE ALSO π
okay bestie this is where it gets real, because this page links to so many friends. the kernel file itself lives at:
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
and it also wants you to go look at:
pcie_replay_count(9)board_info(9)uma/carveout_options(9)uma/carveout(9)amdgpu_device_supports_px(9)amdgpu_device_supports_boco(9)amdgpu_device_supports_baco(9)amdgpu_device_supports_smart_shift(9)amdgpu_device_mm_access(9)amdgpu_device_aper_access(9)amdgpu_device_vram_access(9)amdgpu_device_get_rev_id(9)amdgpu_device_asic_init(9)amdgpu_device_mem_scratch_init(9)amdgpu_device_mem_scratch_fini(9)amdgpu_device_program_register_sequence(9)amdgpu_device_pci_config_reset(9)amdgpu_device_pci_reset(9)amdgpu_device_resize_fb_bar(9)amdgpu_device_need_post(9)amdgpu_device_vga_set_decode(9)amdgpu_device_check_block_size(9)amdgpu_device_check_vm_size(9)amdgpu_device_check_arguments(9)amdgpu_switcheroo_set_state(9)amdgpu_switcheroo_can_switch(9)amdgpu_device_enable_virtual_display(9)amdgpu_device_parse_gpu_info_fw(9)amdgpu_device_ip_early_init(9)amdgpu_device_ip_init(9)amdgpu_device_fill_reset_magic(9)amdgpu_device_check_vram_lost(9)amdgpu_device_set_cg_state(9)amdgpu_device_ip_late_init(9)amdgpu_device_smu_fini_early(9)amdgpu_device_ip_fini(9)amdgpu_device_delayed_init_work_handler(9)amdgpu_device_ip_suspend_phase1(9)amdgpu_device_ip_suspend_phase2(9)amdgpu_device_ip_suspend(9)amdgpu_device_ip_resume_phase1(9)amdgpu_device_ip_resume_phase2(9)amdgpu_device_ip_resume_phase3(9)amdgpu_device_ip_resume(9)amdgpu_device_detect_sriov_bios(9)amdgpu_device_asic_has_dc_support(9)amdgpu_device_has_dc_support(9)amdgpu_device_check_iommu_direct_map(9)amdgpu_device_check_iommu_remap(9)amdgpu_device_init(9)amdgpu_device_fini_hw(9)amdgpu_device_evict_resources(9)amdgpu_device_pm_notifier(9)amdgpu_device_prepare(9)amdgpu_device_complete(9)amdgpu_device_suspend(9)amdgpu_device_resume(9)amdgpu_device_reset_sriov(9)amdgpu_device_has_job_running(9)amdgpu_device_should_recover_gpu(9)amdgpu_device_gpu_recover(9)amdgpu_device_partner_bandwidth(9)amdgpu_device_gpu_bandwidth(9)amdgpu_device_get_pcie_info(9)amdgpu_device_is_peer_accessible(9)amdgpu_pci_error_detected(9)amdgpu_pci_mmio_enabled(9)amdgpu_pci_slot_reset(9)amdgpu_pci_resume(9)amdgpu_device_halt(9)amdgpu_device_get_gang(9)amdgpu_device_switch_gang(9)amdgpu_device_enforce_isolation(9)
like⦠she knows everyone. the whole amdgpu friend group is in here 𫢠literally the group chat.
and that's the page!! short, sweet, and to the point β which honestly is the best kind of manpage π
this lil beauty comes to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's the amdgpu_devi...uld_use_aspm(9) page from the Kernel API Manual β go read the kernel source, ily, bye πβ¨
π¦ 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