]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: notify smu with active display count
authorhersen wu <hersenxs.wu@amd.com>
Thu, 30 May 2019 04:30:32 +0000 (23:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:31 +0000 (18:59 -0500)
commit48c9d0d4ded3745a5de09cee2c5fc0d4a50f9953
tree22507e100053dd3219f2135632bef7806534a318
parente1b6d6fa5d44480d5fa48e7ad7781a80e42f8885
drm/amd/powerplay: notify smu with active display count

when dc update clocks via smu, smu needs to know how many
displays active. this interface is for dc notify number
of active displays to smu.

Signed-off-by: hersen wu <hersenxs.wu@amd.com>
Reviewed-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
drivers/gpu/drm/amd/powerplay/smu_v11_0.c