Home
last modified time | relevance | path

Searched refs:optc (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_optc.c44 bool optc2_enable_crtc(struct timing_generator *optc) in optc2_enable_crtc() argument
50 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_enable_crtc()
56 OPTC_SEG0_SRC_SEL, optc->inst); in optc2_enable_crtc()
80 void optc2_set_timing_db_mode(struct timing_generator *optc, bool enable) in optc2_set_timing_db_mode() argument
82 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_timing_db_mode()
94 void optc2_set_gsl(struct timing_generator *optc, in optc2_set_gsl() argument
97 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl()
114 void optc2_use_gsl_as_master_update_lock(struct timing_generator *optc, in optc2_use_gsl_as_master_update_lock() argument
117 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_use_gsl_as_master_update_lock()
124 void optc2_set_gsl_window(struct timing_generator *optc, in optc2_set_gsl_window() argument
[all …]
Ddcn20_optc.h83 void dcn20_timing_generator_init(struct optc *optc);
85 bool optc2_enable_crtc(struct timing_generator *optc);
87 void optc2_set_gsl(struct timing_generator *optc,
90 void optc2_set_gsl_source_select(struct timing_generator *optc,
94 void optc2_set_dsc_config(struct timing_generator *optc,
99 void optc2_set_odm_bypass(struct timing_generator *optc,
102 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt,
105 void optc2_get_optc_source(struct timing_generator *optc,
110 void optc2_triplebuffer_lock(struct timing_generator *optc);
111 void optc2_triplebuffer_unlock(struct timing_generator *optc);
[all …]
Ddcn20_hwseq.c1861 struct timing_generator *optc; in dcn20_enable_writeback() local
1869 optc = dc->res_pool->timing_generators[dwb->otg_inst]; in dcn20_enable_writeback()
1870 optc->funcs->set_dwb_source(optc, wb_info->dwb_pipe_inst); in dcn20_enable_writeback()
Ddcn20_resource.c1255 struct optc *tgn10 = in dcn20_timing_generator_create()
1256 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn20_timing_generator_create()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c61 struct timing_generator *optc, in optc1_program_global_sync() argument
67 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_global_sync()
90 static void optc1_disable_stereo(struct timing_generator *optc) in optc1_disable_stereo() argument
92 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_stereo()
103 struct timing_generator *optc, in optc1_setup_vertical_interrupt0() argument
107 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt0()
115 struct timing_generator *optc, in optc1_setup_vertical_interrupt1() argument
118 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt1()
125 struct timing_generator *optc, in optc1_setup_vertical_interrupt2() argument
128 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt2()
[all …]
Ddcn10_optc.h32 container_of(tg, struct optc, base)
557 struct optc { struct
583 void dcn10_timing_generator_init(struct optc *optc); argument
607 void optc1_read_otg_state(struct optc *optc1,
614 struct timing_generator *optc,
618 struct timing_generator *optc,
628 struct timing_generator *optc,
632 struct timing_generator *optc,
635 struct timing_generator *optc,
639 struct timing_generator *optc,
[all …]
Ddcn10_resource.c779 struct optc *tgn10 = in dcn10_timing_generator_create()
780 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn10_timing_generator_create()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_optc.c41 void optc3_triplebuffer_lock(struct timing_generator *optc) in optc3_triplebuffer_lock() argument
43 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_triplebuffer_lock()
46 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc3_triplebuffer_lock()
54 if (optc->ctx->dce_environment != DCE_ENV_FPGA_MAXIMUS) in optc3_triplebuffer_lock()
60 void optc3_lock_doublebuffer_enable(struct timing_generator *optc) in optc3_lock_doublebuffer_enable() argument
62 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_enable()
88 void optc3_lock_doublebuffer_disable(struct timing_generator *optc) in optc3_lock_doublebuffer_disable() argument
90 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_disable()
103 void optc3_lock(struct timing_generator *optc) in optc3_lock() argument
105 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock()
[all …]
Ddcn30_optc.h311 void dcn30_timing_generator_init(struct optc *optc1);
313 void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest);
315 void optc3_lock(struct timing_generator *optc);
317 void optc3_lock_doublebuffer_enable(struct timing_generator *optc);
319 void optc3_lock_doublebuffer_disable(struct timing_generator *optc);
321 void optc3_set_vrr_m_const(struct timing_generator *optc,
324 void optc3_set_drr_trigger_window(struct timing_generator *optc,
327 void optc3_triplebuffer_lock(struct timing_generator *optc);
329 void optc3_program_blank_color(struct timing_generator *optc,
332 void optc3_set_vtotal_change_limit(struct timing_generator *optc,
[all …]
Ddcn30_hwseq.c322 struct timing_generator *optc; in dcn30_enable_writeback() local
328 optc = dc->res_pool->timing_generators[dwb->otg_inst]; in dcn30_enable_writeback()
Ddcn30_resource.c1024 struct optc *tgn10 = in dcn30_timing_generator_create()
1025 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn30_timing_generator_create()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h162 struct timing_generator *optc,
166 struct timing_generator *optc,
169 struct timing_generator *optc,
185 bool (*get_otg_active_size)(struct timing_generator *optc,
250 void (*set_dwb_source)(struct timing_generator *optc,
253 void (*get_optc_source)(struct timing_generator *optc,
272 void (*program_manual_trigger)(struct timing_generator *optc);
273 void (*setup_manual_trigger)(struct timing_generator *optc);
274 bool (*get_hw_timing)(struct timing_generator *optc,
277 void (*set_vtg_params)(struct timing_generator *optc,
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1328 struct optc *tgn10 = in dcn21_timing_generator_create()
1329 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn21_timing_generator_create()