Home
last modified time | relevance | path

Searched refs:timing_generator (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h149 struct timing_generator { struct
167 bool (*validate_timing)(struct timing_generator *tg, argument
169 void (*program_timing)(struct timing_generator *tg,
180 struct timing_generator *optc,
184 struct timing_generator *optc,
187 struct timing_generator *optc,
190 bool (*enable_crtc)(struct timing_generator *tg);
191 bool (*disable_crtc)(struct timing_generator *tg);
192 void (*phantom_crtc_post_enable)(struct timing_generator *tg);
193 void (*disable_phantom_crtc)(struct timing_generator *tg);
[all …]
Doptc.h46 struct timing_generator base;
103 bool optc1_get_hw_timing(struct timing_generator *tg, struct dc_crtc_timing *hw_crtc_timing);
105 bool optc1_validate_timing(struct timing_generator *optc,
108 void optc1_program_timing(struct timing_generator *optc,
118 void optc1_setup_vertical_interrupt0(struct timing_generator *optc,
122 void optc1_setup_vertical_interrupt1(struct timing_generator *optc,
125 void optc1_setup_vertical_interrupt2(struct timing_generator *optc,
128 void optc1_program_global_sync(struct timing_generator *optc,
135 bool optc1_disable_crtc(struct timing_generator *optc);
137 bool optc1_is_counter_moving(struct timing_generator *optc);
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator.h97 struct timing_generator base;
128 struct timing_generator *tg,
136 struct timing_generator *tg,
140 bool dce110_timing_generator_enable_crtc(struct timing_generator *tg);
141 bool dce110_timing_generator_disable_crtc(struct timing_generator *tg);
144 struct timing_generator *tg,
151 struct timing_generator *tg);
154 struct timing_generator *tg,
158 bool dce110_timing_generator_is_counter_moving(struct timing_generator *tg);
161 void dce110_timing_generator_wait_for_vblank(struct timing_generator *tg);
[all …]
Ddce110_timing_generator_v.c53 static bool dce110_timing_generator_v_enable_crtc(struct timing_generator *tg) in dce110_timing_generator_v_enable_crtc()
80 static bool dce110_timing_generator_v_disable_crtc(struct timing_generator *tg) in dce110_timing_generator_v_disable_crtc()
99 static void dce110_timing_generator_v_blank_crtc(struct timing_generator *tg) in dce110_timing_generator_v_blank_crtc()
119 static void dce110_timing_generator_v_unblank_crtc(struct timing_generator *tg) in dce110_timing_generator_v_unblank_crtc()
140 struct timing_generator *tg) in dce110_timing_generator_v_is_in_vertical_blank()
152 static bool dce110_timing_generator_v_is_counter_moving(struct timing_generator *tg) in dce110_timing_generator_v_is_counter_moving()
190 static void dce110_timing_generator_v_wait_for_vblank(struct timing_generator *tg) in dce110_timing_generator_v_wait_for_vblank()
214 static void dce110_timing_generator_v_wait_for_vactive(struct timing_generator *tg) in dce110_timing_generator_v_wait_for_vactive()
224 static void dce110_timing_generator_v_wait_for_state(struct timing_generator *tg, in dce110_timing_generator_v_wait_for_state()
242 struct timing_generator *tg, in dce110_timing_generator_v_program_blanking()
[all …]
Ddce110_timing_generator.c66 struct timing_generator *tg, in dce110_timing_generator_apply_front_porch_workaround()
92 struct timing_generator *tg) in dce110_timing_generator_is_in_vertical_blank()
106 struct timing_generator *tg, in dce110_timing_generator_set_early_control()
123 bool dce110_timing_generator_enable_crtc(struct timing_generator *tg) in dce110_timing_generator_enable_crtc()
152 struct timing_generator *tg, in dce110_timing_generator_program_blank_color()
189 static void disable_stereo(struct timing_generator *tg)
232 bool dce110_timing_generator_disable_crtc(struct timing_generator *tg) in dce110_timing_generator_disable_crtc()
255 struct timing_generator *tg, in program_horz_count_by_2()
281 struct timing_generator *tg, in dce110_timing_generator_program_timing_generator()
366 struct timing_generator *tg, in dce110_timing_generator_set_drr()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn20/
Ddcn20_optc.h84 void optc2_get_last_used_drr_vtotal(struct timing_generator *optc,
87 bool optc2_enable_crtc(struct timing_generator *optc);
89 void optc2_set_gsl(struct timing_generator *optc,
92 void optc2_set_gsl_source_select(struct timing_generator *optc,
96 void optc2_set_dsc_config(struct timing_generator *optc,
101 void optc2_get_dsc_status(struct timing_generator *optc,
104 void optc2_set_odm_bypass(struct timing_generator *optc,
107 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt,
110 void optc2_get_optc_source(struct timing_generator *optc,
115 void optc2_triplebuffer_lock(struct timing_generator *optc);
[all …]
Ddcn20_optc.c48 bool optc2_enable_crtc(struct timing_generator *optc) in optc2_enable_crtc()
86 void optc2_set_gsl(struct timing_generator *optc, in optc2_set_gsl()
106 struct timing_generator *optc, in optc2_set_gsl_source_select()
132 void optc2_set_dsc_config(struct timing_generator *optc, in optc2_set_dsc_config()
152 void optc2_get_dsc_status(struct timing_generator *optc, in optc2_get_dsc_status()
161 void optc2_set_odm_bypass(struct timing_generator *optc, in optc2_set_odm_bypass()
181 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc2_set_odm_combine()
220 void optc2_get_optc_source(struct timing_generator *optc, in optc2_get_optc_source()
243 static void optc2_set_dwb_source(struct timing_generator *optc, in optc2_set_dwb_source()
257 struct timing_generator *optc_master, in optc2_align_vblanks()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn10/
Ddcn10_optc.c64 struct timing_generator *optc, in optc1_program_global_sync()
95 static void optc1_disable_stereo(struct timing_generator *optc) in optc1_disable_stereo()
108 struct timing_generator *optc, in optc1_setup_vertical_interrupt0()
120 struct timing_generator *optc, in optc1_setup_vertical_interrupt1()
130 struct timing_generator *optc, in optc1_setup_vertical_interrupt2()
157 struct timing_generator *optc, in optc1_program_timing()
346 void optc1_set_vtg_params(struct timing_generator *optc, in optc1_set_vtg_params()
391 void optc1_set_blank_data_double_buffer(struct timing_generator *optc, bool enable) in optc1_set_blank_data_double_buffer()
412 void optc1_set_timing_double_buffer(struct timing_generator *optc, bool enable) in optc1_set_timing_double_buffer()
426 static void optc1_unblank_crtc(struct timing_generator *optc) in optc1_unblank_crtc()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c86 struct timing_generator *tg) in dce120_timing_generator_is_in_vertical_blank()
102 struct timing_generator *tg, in dce120_timing_generator_validate_timing()
128 static bool dce120_tg_validate_timing(struct timing_generator *tg, in dce120_tg_validate_timing()
136 static bool dce120_timing_generator_enable_crtc(struct timing_generator *tg) in dce120_timing_generator_enable_crtc()
157 struct timing_generator *tg, in dce120_timing_generator_set_early_control()
170 struct timing_generator *tg) in dce120_timing_generator_get_vblank_counter()
185 struct timing_generator *tg, in dce120_timing_generator_get_crtc_position()
210 static void dce120_timing_generator_wait_for_vblank(struct timing_generator *tg) in dce120_timing_generator_wait_for_vblank()
232 static void dce120_timing_generator_wait_for_vactive(struct timing_generator *tg) in dce120_timing_generator_wait_for_vactive()
246 struct timing_generator *tg, in dce120_timing_generator_setup_global_swap_lock()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn30/
Ddcn30_optc.c45 void optc3_triplebuffer_lock(struct timing_generator *optc) in optc3_triplebuffer_lock()
65 void optc3_lock_doublebuffer_enable(struct timing_generator *optc) in optc3_lock_doublebuffer_enable()
102 void optc3_lock_doublebuffer_disable(struct timing_generator *optc) in optc3_lock_doublebuffer_disable()
119 void optc3_lock(struct timing_generator *optc) in optc3_lock()
135 void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest) in optc3_set_out_mux()
142 void optc3_program_blank_color(struct timing_generator *optc, in optc3_program_blank_color()
158 void optc3_set_drr_trigger_window(struct timing_generator *optc, in optc3_set_drr_trigger_window()
168 void optc3_set_vtotal_change_limit(struct timing_generator *optc, in optc3_set_vtotal_change_limit()
184 void optc3_set_dsc_config(struct timing_generator *optc, in optc3_set_dsc_config()
195 void optc3_set_odm_bypass(struct timing_generator *optc, in optc3_set_odm_bypass()
[all …]
Ddcn30_optc.h326 void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest);
328 void optc3_lock(struct timing_generator *optc);
330 void optc3_lock_doublebuffer_enable(struct timing_generator *optc);
332 void optc3_lock_doublebuffer_disable(struct timing_generator *optc);
334 void optc3_set_drr_trigger_window(struct timing_generator *optc,
337 void optc3_triplebuffer_lock(struct timing_generator *optc);
339 void optc3_program_blank_color(struct timing_generator *optc,
342 void optc3_set_vtotal_change_limit(struct timing_generator *optc,
345 void optc3_set_dsc_config(struct timing_generator *optc,
350 void optc3_set_timing_db_mode(struct timing_generator *optc, bool enable);
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn32/
Ddcn32_optc.c45 static void optc32_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc32_set_odm_combine()
100 void optc32_get_odm_combine_segments(struct timing_generator *tg, int *odm_combine_segments) in optc32_get_odm_combine_segments()
124 void optc32_wait_odm_doublebuffer_pending_clear(struct timing_generator *tg) in optc32_wait_odm_doublebuffer_pending_clear()
131 void optc32_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode) in optc32_set_h_timing_div_manual_mode()
145 static bool optc32_enable_crtc(struct timing_generator *optc) in optc32_enable_crtc()
171 static bool optc32_disable_crtc(struct timing_generator *optc) in optc32_disable_crtc()
202 static void optc32_phantom_crtc_post_enable(struct timing_generator *optc) in optc32_phantom_crtc_post_enable()
213 static void optc32_disable_phantom_otg(struct timing_generator *optc) in optc32_disable_phantom_otg()
227 void optc32_set_odm_bypass(struct timing_generator *optc, in optc32_set_odm_bypass()
250 static void optc32_setup_manual_trigger(struct timing_generator *optc) in optc32_setup_manual_trigger()
[all …]
Ddcn32_optc.h183 void optc32_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode);
184 void optc32_get_odm_combine_segments(struct timing_generator *tg, int *odm_combine_segments);
185 void optc32_set_odm_bypass(struct timing_generator *optc,
187 void optc32_wait_odm_doublebuffer_pending_clear(struct timing_generator *tg);
188 bool optc32_get_double_buffer_pending(struct timing_generator *optc);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn401/
Ddcn401_optc.c104 static void optc401_set_odm_combine(struct timing_generator *optc, int *opp_id, in optc401_set_odm_combine()
165 static void optc401_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode) in optc401_set_h_timing_div_manual_mode()
180 static bool optc401_enable_crtc(struct timing_generator *optc) in optc401_enable_crtc()
206 static bool optc401_disable_crtc(struct timing_generator *optc) in optc401_disable_crtc()
237 static void optc401_phantom_crtc_post_enable(struct timing_generator *optc) in optc401_phantom_crtc_post_enable()
248 static void optc401_disable_phantom_otg(struct timing_generator *optc) in optc401_disable_phantom_otg()
262 static void optc401_set_odm_bypass(struct timing_generator *optc, in optc401_set_odm_bypass()
286 void optc401_setup_manual_trigger(struct timing_generator *optc) in optc401_setup_manual_trigger()
310 struct timing_generator *optc, in optc401_set_drr()
368 static void optc401_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest) in optc401_set_out_mux()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn314/
Ddcn314_optc.c50 static void optc314_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc314_set_odm_combine()
105 static bool optc314_enable_crtc(struct timing_generator *optc) in optc314_enable_crtc()
131 static bool optc314_disable_crtc(struct timing_generator *optc) in optc314_disable_crtc()
152 static void optc314_phantom_crtc_post_enable(struct timing_generator *optc) in optc314_phantom_crtc_post_enable()
163 static void optc314_set_odm_bypass(struct timing_generator *optc, in optc314_set_odm_bypass()
186 static void optc314_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode) in optc314_set_h_timing_div_manual_mode()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn31/
Ddcn31_optc.c43 static void optc31_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc31_set_odm_combine()
95 static bool optc31_enable_crtc(struct timing_generator *optc) in optc31_enable_crtc()
121 static bool optc31_disable_crtc(struct timing_generator *optc) in optc31_disable_crtc()
155 bool optc31_immediate_disable_crtc(struct timing_generator *optc) in optc31_immediate_disable_crtc()
180 struct timing_generator *optc, in optc31_set_drr()
228 void optc3_init_odm(struct timing_generator *optc) in optc3_init_odm()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn35/
Ddcn35_optc.c58 static void optc35_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc35_set_odm_combine()
112 static bool optc35_enable_crtc(struct timing_generator *optc) in optc35_enable_crtc()
138 static bool optc35_disable_crtc(struct timing_generator *optc) in optc35_disable_crtc()
170 static void optc35_phantom_crtc_post_enable(struct timing_generator *optc) in optc35_phantom_crtc_post_enable()
181 static bool optc35_configure_crc(struct timing_generator *optc, in optc35_configure_crc()
217 static void optc35_setup_manual_trigger(struct timing_generator *optc) in optc35_setup_manual_trigger()
247 struct timing_generator *optc, in optc35_set_drr()
292 struct timing_generator *optc, in optc35_set_long_vtotal()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing()
125 struct timing_generator *tg, in dce60_timing_generator_enable_advanced_request()
179 static bool dce60_is_tg_enabled(struct timing_generator *tg) in dce60_is_tg_enabled()
193 static bool dce60_configure_crc(struct timing_generator *tg, in dce60_configure_crc()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn301/
Ddcn301_optc.h33 void optc301_setup_manual_trigger(struct timing_generator *optc);
34 void optc301_set_drr(struct timing_generator *optc, const struct drr_params *params);
Ddcn301_optc.c53 struct timing_generator *optc, in optc301_set_drr()
97 void optc301_setup_manual_trigger(struct timing_generator *optc) in optc301_setup_manual_trigger()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn201/
Ddcn201_optc.c41 static void optc201_triplebuffer_lock(struct timing_generator *optc) in optc201_triplebuffer_lock()
57 static void optc201_triplebuffer_unlock(struct timing_generator *optc) in optc201_triplebuffer_unlock()
69 struct timing_generator *optc, in optc201_validate_timing()
119 static void optc201_get_optc_source(struct timing_generator *optc, in optc201_get_optc_source()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing()
125 struct timing_generator *tg, in dce80_timing_generator_enable_advanced_request()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.h120 struct timing_generator *tg);
123 struct timing_generator *tg,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
Ddcn201_hwseq.c166 struct timing_generator *tg) in dcn201_init_blank()
273 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
281 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
305 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
334 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
350 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/
Dhw_sequencer_private.h68 struct timing_generator;
108 void (*init_blank)(struct dc *dc, struct timing_generator *tg);

123