]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Introduce power module on Linux
authorRay Wu <ray.wu@amd.com>
Fri, 27 Feb 2026 21:09:19 +0000 (16:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Apr 2026 19:41:15 +0000 (15:41 -0400)
commit4cef2ac4c795e4fffd6d35ea110f1273e3cb74bf
tree4df37b9e37a03b5a75e20edbe86b76d578aef598
parentf67790a0715edd292d64a104e6e294290243d16d
drm/amd/display: Introduce power module on Linux

[Why]

Other OS supported by DC uses the power module to manage panel power
features such as backlight and self-refresh. It contains enhancements
on top what amdgpu_dm is doing today that can benefit power.

[How]

Introduce the power module. It's currently not being used anywhere, a
future change will incorporate it into amdgpu_dm.

Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
drivers/gpu/drm/amd/display/dc/dc_stream.h
drivers/gpu/drm/amd/display/modules/inc/mod_power.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/modules/power/Makefile
drivers/gpu/drm/amd/display/modules/power/power.c [new file with mode: 0644]