/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_optc.c | 68 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_global_sync() 93 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_stereo() 108 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt0() 119 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt1() 129 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt2() 160 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_timing() 268 optc->funcs->program_global_sync(optc, in optc1_program_timing() 336 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_vtg_params() 374 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_blank_data_double_buffer() 483 optc->funcs->clear_optc_underflow(optc); in optc1_enable_optc_clock() [all …]
|
A D | dcn10_optc.h | 32 container_of(tg, struct optc, base) 538 struct optc { struct 565 void dcn10_timing_generator_init(struct optc *optc); argument 600 struct timing_generator *optc, 604 struct timing_generator *optc, 614 struct timing_generator *optc, 618 struct timing_generator *optc, 641 struct timing_generator *optc, 648 struct timing_generator *optc, 677 struct timing_generator *optc, [all …]
|
A D | dcn10_resource.c | 713 struct optc *tgn10 = in dcn10_timing_generator_create() 714 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn10_timing_generator_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_optc.c | 47 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_triplebuffer_lock() 68 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_enable() 105 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_disable() 122 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock() 138 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_set_out_mux() 146 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_program_blank_color() 162 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_set_drr_trigger_window() 172 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_set_vtotal_change_limit() 190 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_set_dsc_config() 199 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_set_odm_bypass() [all …]
|
A D | dcn30_optc.h | 324 void dcn30_timing_generator_init(struct optc *optc1); 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, 352 void optc3_set_odm_bypass(struct timing_generator *optc, [all …]
|
A D | dcn30_hwseq.c | 326 struct timing_generator *optc; in dcn30_enable_writeback() local 332 optc = dc->res_pool->timing_generators[dwb->otg_inst]; in dcn30_enable_writeback() 488 if (dc->debug.enable_mem_low_power.bits.optc) { in dcn30_init_hw()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_optc.c | 50 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_enable_crtc() 82 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl() 103 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl_source_select() 130 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_dsc_config() 148 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_get_dsc_status() 164 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_odm_bypass() 184 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_odm_combine() 228 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_get_optc_source() 248 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_dwb_source() 383 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_triplebuffer_lock() [all …]
|
A D | dcn20_optc.h | 82 void dcn20_timing_generator_init(struct optc *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, 110 void optc2_get_optc_source(struct timing_generator *optc, 115 void optc2_triplebuffer_lock(struct timing_generator *optc); 116 void optc2_triplebuffer_unlock(struct timing_generator *optc); [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_optc.c | 48 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_set_odm_combine() 103 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_set_h_timing_div_manual_mode() 114 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_enable_crtc() 140 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_disable_crtc() 161 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_phantom_crtc_post_enable() 172 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_disable_phantom_otg() 180 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_set_odm_bypass() 202 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_setup_manual_trigger() 221 optc->funcs->setup_manual_trigger(optc); in optc32_setup_manual_trigger() 229 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_set_drr() [all …]
|
A D | dcn32_optc.h | 252 void dcn32_timing_generator_init(struct optc *optc1);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_optc.c | 46 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_set_odm_combine() 99 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_enable_crtc() 103 OPTC_SEG0_SRC_SEL, optc->inst); in optc31_enable_crtc() 125 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_disable_crtc() 146 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_immediate_disable_crtc() 167 struct timing_generator *optc, in optc31_set_drr() argument 170 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_set_drr() 203 optc->funcs->setup_manual_trigger(optc); in optc31_set_drr() 211 optc->funcs->set_vtotal_min_max(optc, 0, 0); in optc31_set_drr() 217 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_init_odm() [all …]
|
A D | dcn31_optc.h | 259 void dcn31_timing_generator_init(struct optc *optc1); 261 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn314/ |
A D | dcn314_optc.c | 53 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_set_odm_combine() 106 static bool optc314_enable_crtc(struct timing_generator *optc) in optc314_enable_crtc() argument 108 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_enable_crtc() 112 OPTC_SEG0_SRC_SEL, optc->inst); in optc314_enable_crtc() 132 static bool optc314_disable_crtc(struct timing_generator *optc) in optc314_disable_crtc() argument 134 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_disable_crtc() 155 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_phantom_crtc_post_enable() 167 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_set_odm_bypass() 172 OPTC_SEG0_SRC_SEL, optc->inst, in optc314_set_odm_bypass() 189 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_set_h_timing_div_manual_mode() [all …]
|
A D | dcn314_optc.h | 253 void dcn314_timing_generator_init(struct optc *optc1);
|
A D | dcn314_resource.c | 920 .optc = true, 1106 struct optc *tgn10 = in dcn31_timing_generator_create() 1107 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn31_timing_generator_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | timing_generator.h | 173 struct timing_generator *optc, 177 struct timing_generator *optc, 180 struct timing_generator *optc, 201 bool (*get_otg_active_size)(struct timing_generator *optc, 268 void (*set_dwb_source)(struct timing_generator *optc, 271 void (*get_optc_source)(struct timing_generator *optc, 292 bool (*get_hw_timing)(struct timing_generator *optc, 295 void (*set_vtg_params)(struct timing_generator *optc, 298 void (*set_dsc_config)(struct timing_generator *optc, 302 void (*get_dsc_status)(struct timing_generator *optc, [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/ |
A D | dcn201_optc.c | 47 static void optc201_triplebuffer_lock(struct timing_generator *optc) in optc201_triplebuffer_lock() argument 49 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_triplebuffer_lock() 52 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc201_triplebuffer_lock() 58 if (optc->ctx->dce_environment != DCE_ENV_FPGA_MAXIMUS) in optc201_triplebuffer_lock() 64 static void optc201_triplebuffer_unlock(struct timing_generator *optc) in optc201_triplebuffer_unlock() argument 66 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_triplebuffer_unlock() 76 struct timing_generator *optc, in optc201_validate_timing() argument 82 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_validate_timing() 126 static void optc201_get_optc_source(struct timing_generator *optc, in optc201_get_optc_source() argument 131 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_get_optc_source() [all …]
|
A D | dcn201_optc.h | 70 void dcn201_timing_generator_init(struct optc *optc);
|
A D | dcn201_resource.c | 760 struct optc *tgn10 = in dcn201_timing_generator_create() 761 kzalloc(sizeof(struct optc), GFP_ATOMIC); in dcn201_timing_generator_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_trace.h | 43 #define TRACE_OPTC_LOCK_UNLOCK_STATE(optc, inst, lock) \ argument 44 trace_dcn_optc_lock_unlock_state(optc, inst, lock, __func__, __LINE__)
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
A D | dcn30_fpu.c | 181 void optc3_fpu_set_vrr_m_const(struct timing_generator *optc, in optc3_fpu_set_vrr_m_const() argument 184 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_fpu_set_vrr_m_const() 213 optc->funcs->set_vtotal_min_max(optc, 0, 0); in optc3_fpu_set_vrr_m_const() 252 optc->funcs->set_vtotal_min_max(optc, vtotal_min, vtotal_max); in optc3_fpu_set_vrr_m_const()
|
A D | dcn30_fpu.h | 32 void optc3_fpu_set_vrr_m_const(struct timing_generator *optc,
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn316/ |
A D | dcn316_resource.c | 884 .optc = true, 1069 struct optc *tgn10 = in dcn31_timing_generator_create() 1070 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn31_timing_generator_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn315/ |
A D | dcn315_resource.c | 884 .optc = true, 1070 struct optc *tgn10 = in dcn31_timing_generator_create() 1071 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn31_timing_generator_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn321/ |
A D | dcn321_resource.c | 712 .optc = true, 1004 struct optc *tgn10 = in dcn321_timing_generator_create() 1005 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn321_timing_generator_create()
|