]> asedeno.scripts.mit.edu Git - linux.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)
commit2e13c7551ca03dac449c0d55a08a0459d876ea11
tree22507e100053dd3219f2135632bef7806534a318
parent382fb77891b6f9b067fc801cc63503d0d1d07dfb
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