Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h143 struct timing_generator { struct
161 bool (*validate_timing)(struct timing_generator *tg, argument
163 void (*program_timing)(struct timing_generator *tg,
173 struct timing_generator *optc,
177 struct timing_generator *optc,
180 struct timing_generator *optc,
183 bool (*enable_crtc)(struct timing_generator *tg);
184 bool (*disable_crtc)(struct timing_generator *tg);
186 void (*phantom_crtc_post_enable)(struct timing_generator *tg);
188 bool (*immediate_disable_crtc)(struct timing_generator *tg);
[all …]
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/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.c44 bool optc2_enable_crtc(struct timing_generator *optc) in optc2_enable_crtc()
79 void optc2_set_gsl(struct timing_generator *optc, in optc2_set_gsl()
99 struct timing_generator *optc, in optc2_set_gsl_source_select()
125 void optc2_set_dsc_config(struct timing_generator *optc, in optc2_set_dsc_config()
145 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()
222 void optc2_get_optc_source(struct timing_generator *optc, in optc2_get_optc_source()
245 static void optc2_set_dwb_source(struct timing_generator *optc, in optc2_set_dwb_source()
259 struct timing_generator *optc_master, in optc2_align_vblanks()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c61 struct timing_generator *optc, in optc1_program_global_sync()
90 static void optc1_disable_stereo(struct timing_generator *optc) in optc1_disable_stereo()
103 struct timing_generator *optc, in optc1_setup_vertical_interrupt0()
115 struct timing_generator *optc, in optc1_setup_vertical_interrupt1()
125 struct timing_generator *optc, in optc1_setup_vertical_interrupt2()
140 struct timing_generator *optc, in optc1_program_timing()
326 void optc1_set_vtg_params(struct timing_generator *optc, in optc1_set_vtg_params()
371 void optc1_set_blank_data_double_buffer(struct timing_generator *optc, bool enable) in optc1_set_blank_data_double_buffer()
389 void optc1_set_timing_double_buffer(struct timing_generator *optc, bool enable) in optc1_set_timing_double_buffer()
402 static void optc1_unblank_crtc(struct timing_generator *optc) in optc1_unblank_crtc()
[all …]
Ddcn10_optc.h538 struct timing_generator base;
595 bool optc1_get_hw_timing(struct timing_generator *tg,
599 struct timing_generator *optc,
603 struct timing_generator *optc,
613 struct timing_generator *optc,
617 struct timing_generator *optc,
620 struct timing_generator *optc,
624 struct timing_generator *optc,
630 bool optc1_disable_crtc(struct timing_generator *optc);
632 bool optc1_is_counter_moving(struct timing_generator *optc);
[all …]
Ddcn10_hw_sequencer.c100 struct timing_generator *tg; in dcn10_lock_all_pipes()
354 struct timing_generator *tg = pool->timing_generators[i]; in dcn10_log_hw_state()
538 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn10_did_underflow_occur()
844 struct timing_generator *tg) in false_optc_underflow_wa()
1314 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn10_init_pipes()
1367 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn10_init_pipes()
1441 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn10_init_pipes()
1999 struct timing_generator *tg) in wait_for_reset_trigger_to_occur()
2210 struct timing_generator *tg; in dcn10_enable_vblanks_synchronization()
2267 struct timing_generator *tg; in dcn10_enable_timing_synchronization()
[all …]
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_optc.c44 void optc3_triplebuffer_lock(struct timing_generator *optc) in optc3_triplebuffer_lock()
63 void optc3_lock_doublebuffer_enable(struct timing_generator *optc) in optc3_lock_doublebuffer_enable()
98 void optc3_lock_doublebuffer_disable(struct timing_generator *optc) in optc3_lock_doublebuffer_disable()
113 void optc3_lock(struct timing_generator *optc) in optc3_lock()
127 void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest) in optc3_set_out_mux()
134 void optc3_program_blank_color(struct timing_generator *optc, in optc3_program_blank_color()
150 void optc3_set_drr_trigger_window(struct timing_generator *optc, in optc3_set_drr_trigger_window()
160 void optc3_set_vtotal_change_limit(struct timing_generator *optc, in optc3_set_vtotal_change_limit()
176 void optc3_set_dsc_config(struct timing_generator *optc, in optc3_set_dsc_config()
187 void optc3_set_odm_bypass(struct timing_generator *optc, in optc3_set_odm_bypass()
[all …]
Ddcn30_optc.h324 void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest);
326 void optc3_lock(struct timing_generator *optc);
328 void optc3_lock_doublebuffer_enable(struct timing_generator *optc);
330 void optc3_lock_doublebuffer_disable(struct timing_generator *optc);
332 void optc3_set_drr_trigger_window(struct timing_generator *optc,
335 void optc3_triplebuffer_lock(struct timing_generator *optc);
337 void optc3_program_blank_color(struct timing_generator *optc,
340 void optc3_set_vtotal_change_limit(struct timing_generator *optc,
343 void optc3_set_dsc_config(struct timing_generator *optc,
348 void optc3_set_timing_db_mode(struct timing_generator *optc, bool enable);
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/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()
101 static void optc32_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode) in optc32_set_h_timing_div_manual_mode()
112 static bool optc32_enable_crtc(struct timing_generator *optc) in optc32_enable_crtc()
138 static bool optc32_disable_crtc(struct timing_generator *optc) in optc32_disable_crtc()
159 static void optc32_phantom_crtc_post_enable(struct timing_generator *optc) in optc32_phantom_crtc_post_enable()
170 static void optc32_set_odm_bypass(struct timing_generator *optc, in optc32_set_odm_bypass()
193 static void optc32_setup_manual_trigger(struct timing_generator *optc) in optc32_setup_manual_trigger()
219 struct timing_generator *optc, in optc32_set_drr()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/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()
106 static bool optc314_enable_crtc(struct timing_generator *optc) in optc314_enable_crtc()
132 static bool optc314_disable_crtc(struct timing_generator *optc) in optc314_disable_crtc()
153 static void optc314_phantom_crtc_post_enable(struct timing_generator *optc) in optc314_phantom_crtc_post_enable()
164 static void optc314_set_odm_bypass(struct timing_generator *optc, in optc314_set_odm_bypass()
187 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.1.9/drivers/gpu/drm/amd/display/dc/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()
97 static bool optc31_enable_crtc(struct timing_generator *optc) in optc31_enable_crtc()
123 static bool optc31_disable_crtc(struct timing_generator *optc) in optc31_disable_crtc()
144 bool optc31_immediate_disable_crtc(struct timing_generator *optc) in optc31_immediate_disable_crtc()
167 struct timing_generator *optc, in optc31_set_drr()
215 void optc3_init_odm(struct timing_generator *optc) in optc3_init_odm()
Ddcn31_optc.h261 bool optc31_immediate_disable_crtc(struct timing_generator *optc);
263 void optc31_set_drr(struct timing_generator *optc, const struct drr_params *params);
265 void optc3_init_odm(struct timing_generator *optc);
/linux-6.1.9/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()
124 struct timing_generator *tg, in dce60_timing_generator_enable_advanced_request()
178 static bool dce60_is_tg_enabled(struct timing_generator *tg) in dce60_is_tg_enabled()
192 static bool dce60_configure_crc(struct timing_generator *tg, in dce60_configure_crc()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_optc.c47 static void optc201_triplebuffer_lock(struct timing_generator *optc) in optc201_triplebuffer_lock()
64 static void optc201_triplebuffer_unlock(struct timing_generator *optc) in optc201_triplebuffer_unlock()
76 struct timing_generator *optc, in optc201_validate_timing()
126 static void optc201_get_optc_source(struct timing_generator *optc, in optc201_get_optc_source()
Ddcn201_hwseq.c163 struct timing_generator *tg) in dcn201_init_blank()
283 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
291 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
315 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
344 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
360 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw()
Ddcn201_hwseq.h45 struct timing_generator *tg);
/linux-6.1.9/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()
124 struct timing_generator *tg, in dce80_timing_generator_enable_advanced_request()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer_private.h68 struct timing_generator;
109 void (*init_blank)(struct dc *dc, struct timing_generator *tg);
Dcore_types.h255 struct timing_generator *timing_generators[MAX_PIPES];
341 struct timing_generator *tg;
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.h32 void optc3_fpu_set_vrr_m_const(struct timing_generator *optc,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/link/
Dlink_hwss_hpo_dp.c109 struct timing_generator *tg = pipe_ctx->stream_res.tg; in setup_hpo_dp_stream_encoder()
131 struct timing_generator *tg = pipe_ctx->stream_res.tg; in reset_hpo_dp_stream_encoder()

123