Home
last modified time | relevance | path

Searched refs:display_count (Results 1 – 15 of 15) sorted by relevance

/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c79 int i, display_count; in dcn31_get_active_display_cnt_wa() local
82 display_count = 0; in dcn31_get_active_display_cnt_wa()
93 display_count++; in dcn31_get_active_display_cnt_wa()
103 display_count++; in dcn31_get_active_display_cnt_wa()
107 if (display_count == 0 && tmds_present) in dcn31_get_active_display_cnt_wa()
108 display_count = 1; in dcn31_get_active_display_cnt_wa()
110 return display_count; in dcn31_get_active_display_cnt_wa()
141 int display_count; in dcn31_update_clocks() local
167 display_count = dcn31_get_active_display_cnt_wa(dc, context); in dcn31_update_clocks()
169 if (display_count == 0) { in dcn31_update_clocks()
[all …]
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c57 int i, display_count; in rn_get_active_display_cnt_wa() local
60 display_count = 0; in rn_get_active_display_cnt_wa()
76 display_count++; in rn_get_active_display_cnt_wa()
80 if (display_count == 0 && tmds_present) in rn_get_active_display_cnt_wa()
81 display_count = 1; in rn_get_active_display_cnt_wa()
83 return display_count; in rn_get_active_display_cnt_wa()
88 int display_count; in rn_set_low_power_state() local
95 display_count = rn_get_active_display_cnt_wa(dc, context); in rn_set_low_power_state()
98 if (display_count == 0) { in rn_set_low_power_state()
138 int display_count; in rn_update_clocks() local
[all …]
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c73 int i, display_count; in dcn316_get_active_display_cnt_wa() local
76 display_count = 0; in dcn316_get_active_display_cnt_wa()
92 display_count++; in dcn316_get_active_display_cnt_wa()
96 if (display_count == 0 && tmds_present) in dcn316_get_active_display_cnt_wa()
97 display_count = 1; in dcn316_get_active_display_cnt_wa()
99 return display_count; in dcn316_get_active_display_cnt_wa()
143 int display_count; in dcn316_update_clocks() local
163 display_count = dcn316_get_active_display_cnt_wa(dc, context); in dcn316_update_clocks()
165 if (display_count == 0) { in dcn316_update_clocks()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c66 int i, display_count; in vg_get_active_display_cnt_wa() local
69 display_count = 0; in vg_get_active_display_cnt_wa()
85 display_count++; in vg_get_active_display_cnt_wa()
89 if (display_count == 0 && tmds_present) in vg_get_active_display_cnt_wa()
90 display_count = 1; in vg_get_active_display_cnt_wa()
92 return display_count; in vg_get_active_display_cnt_wa()
102 int display_count; in vg_update_clocks() local
118 display_count = vg_get_active_display_cnt_wa(dc, context); in vg_update_clocks()
120 if (display_count == 0) { in vg_update_clocks()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c61 int i, display_count; in dcn315_get_active_display_cnt_wa() local
64 display_count = 0; in dcn315_get_active_display_cnt_wa()
80 display_count++; in dcn315_get_active_display_cnt_wa()
84 if (display_count == 0 && tmds_present) in dcn315_get_active_display_cnt_wa()
85 display_count = 1; in dcn315_get_active_display_cnt_wa()
87 return display_count; in dcn315_get_active_display_cnt_wa()
133 int display_count; in dcn315_update_clocks() local
154 display_count = dcn315_get_active_display_cnt_wa(dc, context); in dcn315_update_clocks()
156 if (display_count == 0) { in dcn315_update_clocks()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/
Drv1_clk_mgr.c201 int display_count; in rv1_update_clocks() local
212 display_count = clk_mgr_helper_get_active_display_cnt(dc, context); in rv1_update_clocks()
214 if (display_count == 0) in rv1_update_clocks()
224 pp_smu->set_display_count(&pp_smu->pp_smu, display_count); in rv1_update_clocks()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c100 int i, display_count; in dcn314_get_active_display_cnt_wa() local
103 display_count = 0; in dcn314_get_active_display_cnt_wa()
114 display_count++; in dcn314_get_active_display_cnt_wa()
124 display_count++; in dcn314_get_active_display_cnt_wa()
128 if (display_count == 0 && tmds_present) in dcn314_get_active_display_cnt_wa()
129 display_count = 1; in dcn314_get_active_display_cnt_wa()
131 return display_count; in dcn314_get_active_display_cnt_wa()
168 int display_count; in dcn314_update_clocks() local
194 display_count = dcn314_get_active_display_cnt_wa(dc, context); in dcn314_update_clocks()
196 if (display_count == 0) { in dcn314_update_clocks()
/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c56 int i, display_count; in clk_mgr_helper_get_active_display_cnt() local
58 display_count = 0; in clk_mgr_helper_get_active_display_cnt()
75 display_count++; in clk_mgr_helper_get_active_display_cnt()
78 return display_count; in clk_mgr_helper_get_active_display_cnt()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.c199 int display_count; in dcn3_update_clocks() local
222 display_count = clk_mgr_helper_get_active_display_cnt(dc, context); in dcn3_update_clocks()
224 if (display_count == 0) in dcn3_update_clocks()
228 dcn30_smu_set_num_of_displays(clk_mgr, display_count); in dcn3_update_clocks()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c224 int display_count; in dcn2_update_clocks() local
246 display_count = clk_mgr_helper_get_active_display_cnt(dc, context); in dcn2_update_clocks()
250 if (display_count == 0) in dcn2_update_clocks()
255 pp_smu->set_display_count(&pp_smu->pp_smu, display_count); in dcn2_update_clocks()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c169 pp_display_cfg->display_count = num_cfgs; in dce110_fill_display_configs()
236 if (pp_display_cfg->display_count == 1) { in dce11_pplib_apply_display_requirements()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c61 pp_display_cfg->display_count; in dm_pp_apply_display_requirements()
63 pp_display_cfg->display_count; in dm_pp_apply_display_requirements()
96 for (i = 0; i < pp_display_cfg->display_count; i++) { in dm_pp_apply_display_requirements()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c461 int display_count; in dcn32_update_clocks() local
485 display_count = clk_mgr_helper_get_active_display_cnt(dc, context); in dcn32_update_clocks()
487 if (display_count == 0) in dcn32_update_clocks()
492 dcn30_smu_set_num_of_displays(clk_mgr, display_count); in dcn32_update_clocks()
/drivers/gpu/drm/amd/display/dc/
Ddm_services_types.h203 uint8_t display_count; member
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c545 pp_display_cfg->display_count = num_cfgs; in dce110_fill_display_configs()
659 if (pp_display_cfg->display_count == 1) { in dce11_pplib_apply_display_requirements()