]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: add interface to get current clocks for display
authorHuang Rui <ray.huang@amd.com>
Wed, 16 Jan 2019 06:43:29 +0000 (14:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:59 +0000 (15:03 -0500)
commit28e4085c3517865997751a6223224e11148ab589
tree1d044e34d06292887dce6fc6857af934595f9a68
parent643cfcd4c75a352507c228a4f891f26aeb0f537b
drm/amd/powerplay: add interface to get current clocks for display

This patch fills the amd_pp_clock_info data for display, it will get the current
info in that structure.

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