/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_optc.c | 61 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 …]
|
D | dcn10_optc.h | 32 container_of(tg, struct optc, base) 533 struct optc { struct 559 void dcn10_timing_generator_init(struct optc *optc); argument 585 void optc1_read_otg_state(struct optc *optc1, 592 struct timing_generator *optc, 596 struct timing_generator *optc, 606 struct timing_generator *optc, 610 struct timing_generator *optc, 613 struct timing_generator *optc, 617 struct timing_generator *optc, [all …]
|
D | dcn10_resource.c | 715 struct optc *tgn10 = in dcn10_timing_generator_create() 716 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn10_timing_generator_create()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_optc.c | 44 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() 79 void optc2_set_gsl(struct timing_generator *optc, in optc2_set_gsl() argument 82 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl() 99 struct timing_generator *optc, in optc2_set_gsl_source_select() argument 103 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl_source_select() 125 void optc2_set_dsc_config(struct timing_generator *optc, in optc2_set_dsc_config() argument 130 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_dsc_config() 145 void optc2_get_dsc_status(struct timing_generator *optc, in optc2_get_dsc_status() argument [all …]
|
D | dcn20_optc.h | 82 void dcn20_timing_generator_init(struct optc *optc); 84 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, [all …]
|
D | dcn20_hwseq.c | 1950 struct timing_generator *optc; in dcn20_enable_writeback() local 1958 optc = dc->res_pool->timing_generators[dwb->otg_inst]; in dcn20_enable_writeback() 1959 optc->funcs->set_dwb_source(optc, wb_info->dwb_pipe_inst); in dcn20_enable_writeback()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_optc.c | 43 void optc3_triplebuffer_lock(struct timing_generator *optc) in optc3_triplebuffer_lock() argument 45 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_triplebuffer_lock() 48 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc3_triplebuffer_lock() 56 if (optc->ctx->dce_environment != DCE_ENV_FPGA_MAXIMUS) in optc3_triplebuffer_lock() 62 void optc3_lock_doublebuffer_enable(struct timing_generator *optc) in optc3_lock_doublebuffer_enable() argument 64 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_enable() 97 void optc3_lock_doublebuffer_disable(struct timing_generator *optc) in optc3_lock_doublebuffer_disable() argument 99 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_disable() 112 void optc3_lock(struct timing_generator *optc) in optc3_lock() argument 114 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock() [all …]
|
D | dcn30_optc.h | 313 void dcn30_timing_generator_init(struct optc *optc1); 315 void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest); 317 void optc3_lock(struct timing_generator *optc); 319 void optc3_lock_doublebuffer_enable(struct timing_generator *optc); 321 void optc3_lock_doublebuffer_disable(struct timing_generator *optc); 323 void optc3_set_vrr_m_const(struct timing_generator *optc, 326 void optc3_set_drr_trigger_window(struct timing_generator *optc, 329 void optc3_triplebuffer_lock(struct timing_generator *optc); 331 void optc3_program_blank_color(struct timing_generator *optc, 334 void optc3_set_vtotal_change_limit(struct timing_generator *optc, [all …]
|
D | dcn30_hwseq.c | 324 struct timing_generator *optc; in dcn30_enable_writeback() local 330 optc = dc->res_pool->timing_generators[dwb->otg_inst]; in dcn30_enable_writeback() 497 if (dc->debug.enable_mem_low_power.bits.optc) { in dcn30_init_hw()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_optc.c | 43 static void optc31_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc31_set_odm_combine() argument 46 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_set_odm_combine() 97 static bool optc31_enable_crtc(struct timing_generator *optc) in optc31_enable_crtc() argument 99 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_enable_crtc() 103 OPTC_SEG0_SRC_SEL, optc->inst); in optc31_enable_crtc() 123 static bool optc31_disable_crtc(struct timing_generator *optc) in optc31_disable_crtc() argument 125 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_disable_crtc() 139 optc1_clear_optc_underflow(optc); in optc31_disable_crtc() 144 static bool optc31_immediate_disable_crtc(struct timing_generator *optc) in optc31_immediate_disable_crtc() argument 146 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_immediate_disable_crtc() [all …]
|
D | dcn31_optc.h | 257 void dcn31_timing_generator_init(struct optc *optc1); 259 void optc31_set_drr(struct timing_generator *optc, const struct drr_params *params); 261 void optc3_init_odm(struct timing_generator *optc);
|
D | dcn31_resource.c | 885 .optc = true, 1066 struct optc *tgn10 = in dcn31_timing_generator_create() 1067 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn31_timing_generator_create()
|
D | dcn31_hwseq.c | 82 if (dc->debug.enable_mem_low_power.bits.optc) { in enable_memory_low_power()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | timing_generator.h | 165 struct timing_generator *optc, 169 struct timing_generator *optc, 172 struct timing_generator *optc, 189 bool (*get_otg_active_size)(struct timing_generator *optc, 228 void (*set_vtotal_min_max)(struct timing_generator *optc, int vtotal_min, int vtotal_max); 229 void (*get_last_used_drr_vtotal)(struct timing_generator *optc, uint32_t *refresh_rate); 257 void (*set_dwb_source)(struct timing_generator *optc, 260 void (*get_optc_source)(struct timing_generator *optc, 279 void (*program_manual_trigger)(struct timing_generator *optc); 280 void (*setup_manual_trigger)(struct timing_generator *optc); [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn201/ |
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 …]
|
D | dcn201_optc.h | 70 void dcn201_timing_generator_init(struct optc *optc);
|
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-5.19.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
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()
|
D | dcn30_fpu.h | 32 void optc3_fpu_set_vrr_m_const(struct timing_generator *optc,
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn315/ |
D | dcn315_resource.c | 883 .optc = true, 1061 struct optc *tgn10 = in dcn31_timing_generator_create() 1062 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn31_timing_generator_create()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn316/ |
D | dcn316_resource.c | 883 .optc = true, 1060 struct optc *tgn10 = in dcn31_timing_generator_create() 1061 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn31_timing_generator_create()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 610 struct optc *tgn10 = kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn302_timing_generator_create()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 565 struct optc *tgn10 = kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn303_timing_generator_create()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 1072 struct optc *tgn10 = in dcn21_timing_generator_create() 1073 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn21_timing_generator_create()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_resource.c | 862 struct optc *tgn10 = in dcn301_timing_generator_create() 863 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn301_timing_generator_create()
|