mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/amd/display: merge dc_link.h into dc.h and dc_types.h
[why] Remove the need to include dc_link.h separately. dc.h should contain everything needed on DM side. [How] Merge dc_link.h into dc.h and dc_types.h so DM only needs to include dc.h to use all link public functions. Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
1099238b96
commit
7ae1dbe654
@@ -104,7 +104,7 @@ void clk_mgr_exit_optimized_pwr_state(const struct dc *dc, struct clk_mgr *clk_m
|
||||
int edp_num;
|
||||
unsigned int panel_inst;
|
||||
|
||||
get_edp_links(dc, edp_links, &edp_num);
|
||||
dc_get_edp_links(dc, edp_links, &edp_num);
|
||||
if (dc->hwss.exit_optimized_pwr_state)
|
||||
dc->hwss.exit_optimized_pwr_state(dc, dc->current_state);
|
||||
|
||||
@@ -129,7 +129,7 @@ void clk_mgr_optimize_pwr_state(const struct dc *dc, struct clk_mgr *clk_mgr)
|
||||
int edp_num;
|
||||
unsigned int panel_inst;
|
||||
|
||||
get_edp_links(dc, edp_links, &edp_num);
|
||||
dc_get_edp_links(dc, edp_links, &edp_num);
|
||||
if (edp_num) {
|
||||
for (panel_inst = 0; panel_inst < edp_num; panel_inst++) {
|
||||
edp_link = edp_links[panel_inst];
|
||||
|
||||
Reference in New Issue
Block a user