amdgpu_devic..._recover_gpu(9)
π amdgpu_devic..._recover_gpu(9)
okay so bestie, welcome to the Kernel API Manual β¨ β yes the title is literally truncated to amdgpu_devic..._recover_gpu(9) because apparently even the manpage gods ran out of character budget π but the actual function inside is amdgpu_device_should_recover_gpu, and that's the one we're vibing with today π«Ά
β¨ NAME β¨
amdgpu_device_should_recover_gpu β the little checkbox that goes "hmm, should we actually try to rescue this GPU or are we just gonna stand here looking cute?" π©Ίπ
πΈ SYNOPSIS πΈ
bool amdgpu_device_should_recover_gpu (struct amdgpu_device *adev );
that's it. that's the whole signature. returns a bool, takes one pointer, no drama, main character energy only π
π ARGUMENTS π
adevβ amdgpu_device pointer π« your friendly neighbourhood handle to the AMD GPU device we're checking up on. give it the tea and it'll tell you what's what.
π¦ DESCRIPTION π¦
okay so here's the vibe: this function peeks at amdgpu_gpu_recovery and the SRIOV</> status to figure out whether we should even try to recover a hung GPU ππ₯
like β a GPU is stuck, everyone's stressed, and this little function is the responsible bestie who checks the group chat before we all pile into a rescue mission. it doesn't do the recovering, it just gives the green light (or doesn't) π no cap.
fr fr this is a check β it does not perform the recovery itself. it just tells you whether attempting it is even the move π
π SEE ALSO π
bestie I'm not gonna lie to you, this list is long, but every single one of these icons deserves their moment, so here we go πβ¨
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_device.cβ the mothership source file this whole squad lives in ππ
and the whole extended fam, in the exact order the manpage serves it π:
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_should_use_aspm(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_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. that's the whole friend group ππ and honestly? iconic. every one of them ate. π
okay that's the whole page bestie!! π§π this little cutie came out of./drivers/gpu/drm/amd/amdgpu, dated October 2026 β and it's filed underamdgpu_devic..._recover_gpu(9)in case you need to find it again π go forth and check your GPU recovery status responsibly, mwah π«Άπ
π¦ 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