Skip to content

RFC Let amdgpu react to platform profile changes

Mario Limonciello amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: platform_profile: Add support for notification chainsdrivers/acpi/platform_profile.c include/linux/platform_profile.h+55 -70 replies
2/2drm/amd/pm: Add support for reacting to platform profile notificationdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/pm/amdgpu_pm.c+90 -186 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] Let amdgpu react to platform profile changes

Many OEM platform provide a platform profile knob that can be used to make firmware tunings to the system to allow operating in a higher or lower performance mode trading off power consumption.

Software like power-profiles-daemon to expose this knob to the UI.

As we know the user's intent to go into power saving or performance mode from this, we can also let amdgpu react to the change.

This patch series is sent as RFC right now only to amd-gfx, and if it's a good enough idea will re-send as PATCH to linux-acpi + amd-gfx.

Mario Limonciello (2):
ACPI: platform_profile: Add support for notification chains drm/amd/pm: Add support for reacting to platform profile notification

 drivers/acpi/platform_profile.c     |  52 ++++++++++++--
 drivers/gpu/drm/amd/amdgpu/amdgpu.h |   3 +
 drivers/gpu/drm/amd/pm/amdgpu_pm.c  | 105 +++++++++++++++++++++++-----
 include/linux/platform_profile.h    |  10 +++
 4 files changed, 145 insertions(+), 25 deletions(-)
Signature · 1 line
2.25.1