drm/amd/display: Add dmpp clks types for conversion
authorMikita Lipski <mikita.lipski@amd.com>
Thu, 31 May 2018 21:31:14 +0000 (17:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:40 +0000 (16:38 -0500)
commit015ec75918698e63f770c9bee0752ce802ed55e2
tree90391d23597f737066f19fbf68f990ad148aff13
parent5094ffac6bd265130f735dd500532cef39f0d72f
drm/amd/display: Add dmpp clks types for conversion

Add more cases for dm_pp clks translator into pp clks so
we can pass the right structures to the powerplay.
Use clks translator instead of massive switch statement.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c