ENUM AMD_PMF_PLATFORM_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum amd_pmf_platform_type β€” Kernel API Manual

okay bestie, gather round, because today we're learning about enum amd_pmf_platform_type β€” it literally describes the physical form factor orientation and honestly? it's giving main character energy for your 2-in-1. πŸŽ€


✨ NAME ✨

enum amd_pmf_platform_type β€” describes the physical form factor orientation. no cap, that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

enum amd_pmf_platform_type {
    AMD_PMF_PTYPE_UNKNOWN ,
    AMD_PMF_LID_CLOSE ,
    AMD_PMF_CLAMSHELL ,
    AMD_PMF_FLAT ,
    AMD_PMF_TENT ,
    AMD_PMF_STAND ,
    AMD_PMF_TABLET ,
    AMD_PMF_BOOK ,
    AMD_PMF_PRESENTATION ,
    AMD_PMF_PULL_FWD ,
    AMD_PMF_PTYPE_INVALID

};

like, that's the roster. every single one of them. iconic lineup fr fr. πŸ‘‘


πŸ’– Constants πŸ’–

okay so here's the cast of characters, one by one, no skips, we respect all of them:

  • AMD_PMF_PTYPE_UNKNOWN β€” platform type cannot be determined 😭 like we literally don't know, it's a mystery, a vibe check that failed.
  • AMD_PMF_LID_CLOSE β€” laptop lid is closed. bestie is asleep. do not disturb. πŸ’€
  • AMD_PMF_CLAMSHELL β€” traditional laptop mode with keyboard and screen. the classic. the blueprint. periodt.
  • AMD_PMF_FLAT β€” device is lying flat on a surface. just vibing horizontally, you know? 🫢
  • AMD_PMF_TENT β€” device is in tent mode (keyboard folded back, standing). literally camping. β›Ί adorable.
  • AMD_PMF_STAND β€” device is propped up in stand orientation. standing tall, main character posture. ✨
  • AMD_PMF_TABLET β€” device is in tablet mode with keyboard hidden. keyboard said "not today" and honestly same. πŸ™ˆ
  • AMD_PMF_BOOK β€” device is in book reading orientation. cozy era, iykyk. πŸ“–
  • AMD_PMF_PRESENTATION β€” device is in presentation mode. look at her go, she's presenting. slay. πŸ’…
  • AMD_PMF_PULL_FWD β€” screen is pulled forward towards user. come closer, bestie. πŸ₯Ί
  • AMD_PMF_PTYPE_INVALID β€” invalid platform type marker. 🚩 not it. not valid. we don't stan.

🌈 Description 🌈

so like, what is this? this enumeration describes the current physical orientation or form factor of convertible/2-in-1 devices. yes, the bendy ones. the flexible girlies. 🧚

and why do we care? because it's used for optimizing power and thermal management based on device posture. basically the kernel looks at how you're holding your laptop and goes "oh okay, adjusting" and keeps things cool and efficient. highkey genius behavior. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, bestie, they're in the same friend group:


and that's the whole page, you ate that πŸ’œ this cutie lives in the kernel file ./include/uapi/linux, dated October 2026, and if you ever need to find her again just look up enum amd_pmf_platform_type(9) β€” she'll be there, being iconic. πŸŽ€βœ¨

πŸ“¦ where this page comes from