Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/optc/dcn30/
H A Ddcn30_optc.c45 void optc3_triplebuffer_lock(struct timing_generator *optc) in optc3_triplebuffer_lock() argument
47 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_triplebuffer_lock()
50 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc3_triplebuffer_lock()
62 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_triplebuffer_lock()
65 void optc3_lock_doublebuffer_enable(struct timing_generator *optc) in optc3_lock_doublebuffer_enable() argument
67 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_enable()
99 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_lock_doublebuffer_enable()
102 void optc3_lock_doublebuffer_disable(struct timing_generator *optc) in optc3_lock_doublebuffer_disable() argument
104 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_disable()
116 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_lock_doublebuffer_disable()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn20/
H A Ddcn20_optc.c48 bool optc2_enable_crtc(struct timing_generator *optc) in optc2_enable_crtc() argument
54 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_enable_crtc()
60 OPTC_SEG0_SRC_SEL, optc->inst); in optc2_enable_crtc()
86 void optc2_set_gsl(struct timing_generator *optc, in optc2_set_gsl() argument
89 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl()
106 struct timing_generator *optc, in optc2_set_gsl_source_select() argument
110 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl_source_select()
132 void optc2_set_dsc_config(struct timing_generator *optc, in optc2_set_dsc_config() argument
137 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_dsc_config()
152 void optc2_get_dsc_status(struct timing_generator *optc, in optc2_get_dsc_status() argument
[all …]
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn301/
H A Ddcn301_optc.c53 struct timing_generator *optc, in optc301_set_drr() argument
56 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc301_set_drr()
74optc->funcs->set_vtotal_min_max(optc, params->vertical_total_min - 1, params->vertical_total_max -… in optc301_set_drr()
83 optc->funcs->setup_manual_trigger(optc); in optc301_set_drr()
92 optc->funcs->set_vtotal_min_max(optc, 0, 0); in optc301_set_drr()
97 void optc301_setup_manual_trigger(struct timing_generator *optc) in optc301_setup_manual_trigger() argument
99 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc301_setup_manual_trigger()
103 OTG_TRIGA_SOURCE_PIPE_SELECT, optc->inst, in optc301_setup_manual_trigger()
178 void dcn301_timing_generator_init(struct optc *optc1) in dcn301_timing_generator_init()
H A Ddcn301_optc.h32 void dcn301_timing_generator_init(struct optc *optc1);
33 void optc301_setup_manual_trigger(struct timing_generator *optc);
34 void optc301_set_drr(struct timing_generator *optc, const struct drr_params *params);
/linux/drivers/gpu/drm/amd/display/dc/optc/
H A DMakefile33 AMD_DAL_OPTC_DCN10 = $(addprefix $(AMDDALPATH)/dc/optc/dcn10/,$(OPTC_DCN10))
41 AMD_DAL_OPTC_DCN20 = $(addprefix $(AMDDALPATH)/dc/optc/dcn20/,$(OPTC_DCN20))
49 AMD_DAL_OPTC_DCN201 = $(addprefix $(AMDDALPATH)/dc/optc/dcn201/,$(OPTC_DCN201))
61 AMD_DAL_OPTC_DCN30 = $(addprefix $(AMDDALPATH)/dc/optc/dcn30/,$(OPTC_DCN30))
69 AMD_DAL_OPTC_DCN301 = $(addprefix $(AMDDALPATH)/dc/optc/dcn301/,$(OPTC_DCN301))
77 AMD_DAL_OPTC_DCN31 = $(addprefix $(AMDDALPATH)/dc/optc/dcn31/,$(OPTC_DCN31))
85 AMD_DAL_OPTC_DCN314 = $(addprefix $(AMDDALPATH)/dc/optc/dcn314/,$(OPTC_DCN314))
93 AMD_DAL_OPTC_DCN32 = $(addprefix $(AMDDALPATH)/dc/optc/dcn32/,$(OPTC_DCN32))
101 AMD_DAL_OPTC_DCN35 = $(addprefix $(AMDDALPATH)/dc/optc/dcn35/,$(OPTC_DCN35))
110 AMD_DAL_OPTC_DCN401 = $(addprefix $(AMDDALPATH)/dc/optc/dcn401/,$(OPTC_DCN401))
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn201/
H A Ddcn201_optc.c41 static void optc201_triplebuffer_lock(struct timing_generator *optc) in optc201_triplebuffer_lock() argument
43 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_triplebuffer_lock()
46 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc201_triplebuffer_lock()
57 static void optc201_triplebuffer_unlock(struct timing_generator *optc) in optc201_triplebuffer_unlock() argument
59 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_triplebuffer_unlock()
69 struct timing_generator *optc, in optc201_validate_timing() argument
75 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_validate_timing()
119 static void optc201_get_optc_source(struct timing_generator *optc, in optc201_get_optc_source() argument
124 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_get_optc_source()
186 void dcn201_timing_generator_init(struct optc *optc1) in dcn201_timing_generator_init()
H A Ddcn201_optc.h70 void dcn201_timing_generator_init(struct optc *optc);
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_trace.h43 #define TRACE_OPTC_LOCK_UNLOCK_STATE(optc, inst, lock) \ argument
44 trace_dcn_optc_lock_unlock_state(optc, inst, lock, __func__, __LINE__)
H A Ddc.h793 bool optc: 1; member
824 bool optc : 1; /* Output pipe timing combiner */ member
3251 } optc[MAX_PIPES]; member
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c7011 state->optc[i].otg_master_inst = pipe_ctx->stream_res.tg->inst; in dc_capture_register_software_state()
7014 state->optc[i].otg_master_enable = 1; /* Active stream */ in dc_capture_register_software_state()
7015 state->optc[i].otg_disable_point_cntl = 0; /* Normal operation */ in dc_capture_register_software_state()
7016 state->optc[i].otg_start_point_cntl = 0; /* Normal start */ in dc_capture_register_software_state()
7017 state->optc[i].otg_field_number_cntl = (timing->flags.INTERLACE) ? 1 : 0; in dc_capture_register_software_state()
7018 state->optc[i].otg_out_mux = 0; /* Direct output */ in dc_capture_register_software_state()
7021 state->optc[i].otg_h_total = timing->h_total; in dc_capture_register_software_state()
7022 state->optc[i].otg_h_blank_start = timing->h_addressable; in dc_capture_register_software_state()
7023 state->optc[i].otg_h_blank_end = timing->h_total - timing->h_front_porch; in dc_capture_register_software_state()
7024 state->optc[i].otg_h_sync_start = timing->h_addressable + timing->h_front_porch; in dc_capture_register_software_state()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c2547 struct timing_generator *optc; in dcn20_enable_writeback() local
2555 optc = dc->res_pool->timing_generators[dwb->otg_inst]; in dcn20_enable_writeback()
2556 optc->funcs->set_dwb_source(optc, wb_info->dwb_pipe_inst); in dcn20_enable_writeback()
/linux/drivers/gpu/drm/amd/display/dc/hwss/
H A Dhw_sequencer.h1653 struct timing_generator *optc, struct dc_crtc_timing *timing);
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c165 if (dc->debug.enable_mem_low_power.bits.optc) { in dcn401_init_hw()