drm/amd/display: Move PME to function pointer call semantics
authorJun Lei <Jun.Lei@amd.com>
Mon, 16 Jul 2018 14:40:31 +0000 (10:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:48 +0000 (11:09 -0500)
commit265f5ba6c209875081da7c5f7affe8c2c1913a75
tree34812e40366184e8a06afcba9b68703c078e9e32
parenta465feae60dc615d0e363ea5809b95a433b259d4
drm/amd/display: Move PME to function pointer call semantics

[why]
Legacy IRI style is not linux friendly.

[how]
New function pointer call
semantics will be used for all future PPLIB/DAL interfaces, and also
some existing will be refactored.  This change defines how the
new function pointer structures will look, as well as implements

Signed-off-by: Jun Lei <Jun.Lei@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/amdgpu_dm/amdgpu_dm_pp_smu.c
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c
drivers/gpu/drm/amd/display/dc/dm_pp_smu.h