drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part2
authorFatemeh Darbehani <fatemeh.darbehani@amd.com>
Thu, 27 Sep 2018 21:06:15 +0000 (17:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:20:47 +0000 (14:20 -0500)
commit98e90a34ccdcc7550c9b9bdce2f342cd4df95f1f
tree67e67847e942bfd40a1b6c002e466a709520531a
parent247d167e578c3e02c7b3f8546f11443042f12f93
drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part2

[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]
Part 2: Separate set_min_deep_sleep_dcfclk message from the SMU
messages that are sent as part of dm_pp_apply_clock_for_voltage_request.
Directly notify min dcfclk to smu

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