drm/amd/display: use vbios message to call smu for dpm level
authorCharlene Liu <charlene.liu@amd.com>
Wed, 18 Sep 2019 00:28:40 +0000 (20:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:33:58 +0000 (19:33 -0500)
commitce10a0f39b1949e9262f9dabbede65bf598516ec
tree36f98ba89ea7eeedb357b3b7804e57200de52a08
parent52883b36f70ad39e58c57e7ddacad251ad02ee7f
drm/amd/display: use vbios message to call smu for dpm level

[Description]
use vbios message to call smu for dpm level
also only program dmdata in vsyncflip as HW requirement.

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.h
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr_internal.h