ENUM AMD_PMF_PLATFORM_TYPE(9)
π 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:
- Kernel file
./include/uapi/linux/amd-pmf.h AMD_PMF_IOC_MAGIC(9)IOCTL_AMD_PMF_POPULATE_DATA(9)enum amd_pmf_laptop_placement(9)enum amd_pmf_ta_slider(9)
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
- 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