ENUM AMD_PMF_LAPTOP_PLACEMENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this page is from the Kernel API Manual, and the main character is enum amd_pmf_laptop_placement β€” Describes the physical placement of the laptop. bestie, it’s literally the enum that tells you where the laptop is at πŸ‘€πŸ’»


✨ SYNOPSIS ✨

here’s the whole enum, no cap β€” keep it exactly like this:

enum amd_pmf_laptop_placement {
    AMD_PMF_LP_UNKNOWN ,
    AMD_PMF_ON_TABLE ,
    AMD_PMF_ON_LAP_MOTION ,
    AMD_PMF_IN_BAG ,
    AMD_PMF_OUT_OF_BAG ,
    AMD_PMF_LP_UNDEFINED

};
bestie PSA: these values are shown exactly as-is β€” no renaming, no merging, no β€œfixing” the spaces before the commas. πŸ’…

πŸŽ€ Constants πŸŽ€

  • AMD_PMF_LP_UNKNOWN β€” Placement cannot be determined 😭
  • AMD_PMF_ON_TABLE β€” Laptop is placed on a stable surface like a table or desk πŸͺ‘βœ¨
  • AMD_PMF_ON_LAP_MOTION β€” Laptop is on a lap with detected motion πŸ•ΊπŸ’»
  • AMD_PMF_IN_BAG β€” Laptop is detected to be inside a bag or case πŸŽ’πŸ‘€
  • AMD_PMF_OUT_OF_BAG β€” Laptop has been removed from bag or case πŸ‘œβž‘οΈπŸ’»
  • AMD_PMF_LP_UNDEFINED β€” Placement state is undefined 🌫️

🌸 Description 🌸

This enumeration represents the physical placement state of the laptop as detected by platform sensors. It’s used for adaptive power management and thermal policies. periodt β€” that’s the whole vibe πŸ’…πŸ”₯


πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ β€” this page’s source/version line is ./include/uapi/linux, its date is October 2026, and its footer label is enum amd_pm...op_placement(9). byeee 🫢✨

πŸ“¦ where this page comes from