]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/powerplay: add interface to init power (v2)
authorHuang Rui <ray.huang@amd.com>
Tue, 4 Dec 2018 10:13:19 +0000 (18:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:54 +0000 (15:03 -0500)
commit17e6081bc19275f62b259f72457822310a1734c4
tree692b5263a6eaf0439029e1c03e7cd3066ef69bd4
parentcabd44c064c84064292508a58c97f4e9ad9a6409
drm/amd/powerplay: add interface to init power (v2)

This patch adds interface to init power function for smu.
It's to create smu_power_context structure, and allocate smu_dpm_context and
context size to fill the smu_power_context data.

v2: add detailed info to describe this function

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h