]> git.baikalelectronics.ru Git - kernel.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)
commit26e7c103549ccc3a19bd3da81abf4659d19cc4c0
tree692b5263a6eaf0439029e1c03e7cd3066ef69bd4
parent94a0dea0438b8d0d65d71ddacb673338e80f23e9
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