amdgpu_dpm_i...cs_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_dpm_is_temp_metrics_supported β€” the kernel API tea β˜•βœ¨

Okay so bestie, we're diving into the amdgpu_dpm_i...cs_supported(9) page from the Kernel API Manual β€” yes the title is literally abbreviated with dots in the middle, that's just how it's filed, don't come for her 🫢. Buckle up, it's a little one but she's important.


🌸 NAME 🌸

amdgpu_dpm_is_temp_metrics_supported β€” returns whether a specific temperature metrics type is supported, no cap πŸ’―


✨ SYNOPSIS ✨

bool amdgpu_dpm_is_temp_metrics_supported (struct amdgpu_device *adev ,
enum smu_temp_metric_type type );

That's the whole vibe check right there β€” a bool coming back at you, two args going in πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” pointer to the device, like, the device, the main character here πŸ‘‘ give her a struct amdgpu_device * and she knows exactly who you mean.
  • type β€” the identifier for the temperature type metrics you wanna fetch. It's an enum smu_temp_metric_type, so pick your flavor of temp metric 🌑️

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does she do? This function returns metrics if a specific temperature metrics type is supported β€” or, plot twist, tells you it's not 🫠. Basically it's the "are we doing this or not" friend before you commit to actually pulling the numbers.


⭐ RETURN ⭐

  • True β€” the metrics type is supported, slay, you're so back πŸ’–
  • False β€” it's not supported, it's giving nothing, go home 😭

🌈 SEE ALSO 🌈

All of these are her besties, run them in a pack fr fr 🫢


Okay that's the whole page, not me getting emotionally attached to a boolean function πŸ™ˆ. This icon lives under ./drivers/gpu/drm/amd/pm and the version stamp on her is October 2026 β€” dated but never outdated πŸ’…βœ¨ periodt.

πŸ“¦ where this page comes from