OSDN Git Service

drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part3
authorFatemeh Darbehani <fatemeh.darbehani@amd.com>
Tue, 2 Oct 2018 19:03:24 +0000 (15:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:11 +0000 (14:21 -0500)
commit6a85538aa0bf5e999148f41b9512cb479841b081
tree694f906b011981a3413a6abe2104eb194d70c7f0
parent06308d024ad56e36f86aeccb271c7591cc098f7f
drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part3

[Why]
In DCN we want direct DAL to SMU calls, with as little as
possible interference by pplib. The reason for each pp_smu interface
mapping to 1 SMU message is so we can have the sequencing of different
SMU message in dal and shared across different OS. This will also
simplify debugging as DAL owns this interaction and there's no
confusion about division of ownership.

[How]
Separate the set_hard_min_fclk_by_freq message from the
SMU messages that are sent as part of pp_rv_set_display_requirement.
directly notify min dcfclk to smu part 2

Signed-off-by: Fatemeh Darbehani <fatemeh.darbehani@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/dcn10/dcn10_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dm_pp_smu.h