amdgpu_device_complete(9)
π amdgpu_device_complete β complete power state transition
okay so bestie, welcome to the Kernel API Manual page for amdgpu_device_complete(9) β yes the function name is the same as the page name, that's just how manpages do, we stan a consistent queen β¨
πΈ SYNOPSIS
void amdgpu_device_complete (struct drm_device *dev );
that's it. no return value. void. she goes in, does her thing, and leaves. no notes. π
π¦ ARGUMENTS
devβ the drm dev pointer. it's giving "just hand me the device and let me cook" π₯ literally the wholestruct drm_device *and nothing else.
β¨ DESCRIPTION
bestie, this is the undo button. amdgpu_device_complete reverses all the changes that amdgpu_device_prepare made β like when you try on 14 outfits and then put everything back in the closet. π
and the real tea? it gets called on all resume transitions. all of them. including the ones that failed. π so even when the resume flops, this one still shows up to clean the mess β main character energy, honestly. she does not skip her shift.
ngl that's the whole description. short, sweet, and she ate. no cap. π«Ά
π SEE ALSO
okay prepare yourself because this list is long β the amdgpu family is huge and everyone's invited to the group chat. π
the file itself
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c β that's where she lives, that's her address, that's the whole vibe. π
the rest of the squad, part 1 (the ones with non-amdgpu names, iconic of them)
pcie_replay_count(9)board_info(9)uma/carveout_options(9)uma/carveout(9)
the supports_* girlies
amdgpu_device_supports_px(9)amdgpu_device_supports_boco(9)amdgpu_device_supports_baco(9)amdgpu_device_supports_smart_shift(9)
the access crew
rev id + early asic things
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)
pci moment
amdgpu_device_pci_config_reset(9)amdgpu_device_pci_reset(9)amdgpu_device_resize_fb_bar(9)amdgpu_device_need_post(9)amdgpu_device_should_use_aspm(9)amdgpu_device_vga_set_decode(9)
checks & validations (the responsible ones)
switcheroo duet π«
display + firmware
the ip lifecycle saga (part 1)
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)
the ip suspend/resume phases (the whole trilogy, plus extras)
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)
sriov + dc support
amdgpu_device_detect_sriov_bios(9)amdgpu_device_asic_has_dc_support(9)amdgpu_device_has_dc_support(9)
iommu checking
init / fini / evict / notifier
amdgpu_device_init(9)amdgpu_device_fini_hw(9)amdgpu_device_evict_resources(9)amdgpu_device_pm_notifier(9)
the power management cluster (her direct coworkers π«Ά)
reset & recovery arc
amdgpu_device_reset_sriov(9)amdgpu_device_has_job_running(9)amdgpu_device_should_recover_gpu(9)amdgpu_device_gpu_recover(9)
bandwidth besties
pcie info & peer access
pci error handling quartet
amdgpu_pci_error_detected(9)amdgpu_pci_mmio_enabled(9)amdgpu_pci_slot_reset(9)amdgpu_pci_resume(9)
the ending crew
amdgpu_device_halt(9)amdgpu_device_get_gang(9)amdgpu_device_switch_gang(9)amdgpu_device_enforce_isolation(9)
like I said. everyone. π
and that's the whole page bestie β mwah π
cute little sign-off so you know where this came from: it's the Kernel API Manual page for amdgpu_device_complete(9), sourced out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026. go read the kernel source, she's right there, iykyk π¦βπ
π¦ 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