amdgpu_acpi_is_s3_active(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– amdgpu_acpi_is_s3_active(9) β€” the Kernel API Manual tea πŸ«–

okay bestie, so this is a page from the Kernel API Manual, and it's about one (1) tiny little function that answers one (1) tiny little question. lowkey iconic for that alone ✨


🌸 NAME 🌸

amdgpu_acpi_is_s3_active β€” and honestly? the manpage gives us nothing else here. no tagline, no subtitle, blank. it's giving mysterious main character energy πŸ’… (no cap, the NAME section really is just the function name and that's it)


πŸ¦‹ SYNOPSIS πŸ¦‹

bool amdgpu_acpi_is_s3_active (struct amdgpu_device *adev);

that's the whole vibe check: it hands you back a bool, and it wants a struct amdgpu_device *adev to look at πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” an amdgpu_device_pointer. that's it, that's the whole argument. it's literally just pointing at your amdgpu device and saying "hey, look at this one" 🫢

✨ DESCRIPTION ✨

so what does it do? per the page: it returns true if supported, false if not. periodt. that's the entire description. no extra lore, no side quests, no "but wait there's more" 😭

like yes it's short but it ate and left no crumbs β€” you call it, you get a bool, you move on with your life πŸ’€

ngl this is the kind of function you call once, nod at, and never think about again. and that's valid 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is where it pops off, because the cross-reference list is long. the source lives in the kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c, and here's every single sibling you can go bother:

and yeah, amdgpu_acpi_is_s0ix_active(9) is right there at the end being the s0ix counterpart to this s3 one β€” they're basically twins, iykyk 🧚


πŸ’œ a little sign-off moment: this gem comes to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026. go forth and check your s3 status, bestie β€” slay πŸ’…β­
πŸ“¦ where this page comes from