drm/amd/display: Add function to fetch clock requirements
authorEryk Brol <eryk.brol@amd.com>
Fri, 7 Sep 2018 17:24:28 +0000 (13:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:02:02 +0000 (17:02 -0500)
commit8ab2180f96f5334974a84f54e794b3bc5912f4d1
treee6659a88c668584104bef5961203f3a2a3e28437
parent74eac5f3b43eda8b518662b011d1f18d5560e144
drm/amd/display: Add function to fetch clock requirements

Also add dram clock to clocks struct, for systems that uses them.

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_types.h