amdgpu_device_supports_baco(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_device_supports_baco(9) β€” Kernel API Manual πŸ’…

🌸 NAME 🌸

amdgpu_device_supports_baco β€” Does the device support BACO. Okay so this is the Kernel API Manual page for that exact function, bestie, and we are going to get into it πŸ’–


✨ SYNOPSIS ✨

Here's the signature, kept exactly as it is:

int amdgpu_device_supports_baco (struct amdgpu_device *adev );

πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” amdgpu device pointer. That's the one and only arg, no cap 🫢

πŸ”₯ RETURN πŸ”₯

Okay so the return values are doing a little three-way vibe check:

  • 1 if the device supports BACO.
  • 3 if the device supports MACO. Important caveat: MACO only works if BACO is supported.
  • Otherwise, it returns 0.

So yeah, it's giving "small integer, big meaning" 😭


πŸ‘‘ SEE ALSO πŸ‘‘

First up, the kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c.

Then the rest of the SEE ALSO group chat, not a single one skipped:


mwah πŸ’‹ β€” source/version is ./drivers/gpu/drm/amd/amdgpu, date is October 2026, and the page is amdgpu_device_supports_baco(9). periodt 🫢✨

πŸ“¦ where this page comes from