/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_optc.c | 32 optc1->tg_regs->reg 35 optc1->base.ctx 39 optc1->tg_shift->field_name, optc1->tg_mask->field_name 49 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_triplebuffer_lock() local 65 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_triplebuffer_unlock() local 81 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_validate_timing() local 105 if (timing->h_total > optc1->max_h_total || in optc201_validate_timing() 106 timing->v_total > optc1->max_v_total) in optc201_validate_timing() 109 if (h_blank < optc1->min_h_blank) in optc201_validate_timing() 112 if (timing->h_sync_width < optc1->min_h_sync_width || in optc201_validate_timing() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_optc.c | 31 optc1->tg_regs->reg 34 optc1->base.ctx 38 optc1->tg_shift->field_name, optc1->tg_mask->field_name 54 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_enable_crtc() local 89 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl() local 110 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl_source_select() local 137 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_dsc_config() local 155 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_get_dsc_status() local 171 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_odm_bypass() local 185 optc1->opp_count = 1; in optc2_set_odm_bypass() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_optc.c | 36 optc1->tg_regs->reg 39 optc1->base.ctx 43 optc1->tg_shift->field_name, optc1->tg_mask->field_name 47 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_triplebuffer_lock() local 62 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_triplebuffer_lock() 67 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_enable() local 99 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_lock_doublebuffer_enable() 104 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_disable() local 116 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_lock_doublebuffer_disable() 121 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock() local [all …]
|
H A D | dcn30_optc.h | 324 void dcn30_timing_generator_init(struct optc *optc1);
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_optc.c | 33 optc1->tg_regs->reg 36 optc1->base.ctx 40 optc1->tg_shift->field_name, optc1->tg_mask->field_name 70 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_global_sync() local 72 optc1->vready_offset = vready_offset; in optc1_program_global_sync() 73 optc1->vstartup_start = vstartup_start; in optc1_program_global_sync() 74 optc1->vupdate_offset = vupdate_offset; in optc1_program_global_sync() 75 optc1->vupdate_width = vupdate_width; in optc1_program_global_sync() 77 if (optc1->vstartup_start == 0) { in optc1_program_global_sync() 83 VSTARTUP_START, optc1->vstartup_start); in optc1_program_global_sync() [all …]
|
H A D | dcn10_optc.h | 622 void optc1_read_otg_state(struct optc *optc1,
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_optc.c | 36 optc1->tg_regs->reg 39 optc1->base.ctx 43 optc1->tg_shift->field_name, optc1->tg_mask->field_name 53 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_set_odm_combine() local 103 optc1->opp_count = opp_cnt; in optc314_set_odm_combine() 108 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_enable_crtc() local 134 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_disable_crtc() local 155 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_phantom_crtc_post_enable() local 167 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_set_odm_bypass() local 184 optc1->opp_count = 1; in optc314_set_odm_bypass() [all …]
|
H A D | dcn314_optc.h | 253 void dcn314_timing_generator_init(struct optc *optc1);
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_optc.c | 36 optc1->tg_regs->reg 39 optc1->base.ctx 43 optc1->tg_shift->field_name, optc1->tg_mask->field_name 48 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_set_odm_combine() local 98 optc1->opp_count = opp_cnt; in optc32_set_odm_combine() 103 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_set_h_timing_div_manual_mode() local 117 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_enable_crtc() local 143 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_disable_crtc() local 174 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_phantom_crtc_post_enable() local 185 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_disable_phantom_otg() local [all …]
|
H A D | dcn32_optc.h | 181 void dcn32_timing_generator_init(struct optc *optc1);
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_optc.c | 34 optc1->tg_regs->reg 37 optc1->base.ctx 41 optc1->tg_shift->field_name, optc1->tg_mask->field_name 46 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_set_odm_combine() local 91 optc1->opp_count = opp_cnt; in optc31_set_odm_combine() 99 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_enable_crtc() local 125 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_disable_crtc() local 146 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_immediate_disable_crtc() local 170 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_set_drr() local 217 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_init_odm() local [all …]
|
H A D | dcn31_optc.h | 259 void dcn31_timing_generator_init(struct optc *optc1);
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn301/ |
H A D | dcn301_optc.c | 36 optc1->tg_regs->reg 39 optc1->base.ctx 43 optc1->tg_shift->field_name, optc1->tg_mask->field_name 56 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc301_set_drr() local 99 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc301_setup_manual_trigger() local 173 void dcn301_timing_generator_init(struct optc *optc1) in dcn301_timing_generator_init() argument 175 optc1->base.funcs = &dcn30_tg_funcs; in dcn301_timing_generator_init() 177 optc1->max_h_total = optc1->tg_mask->OTG_H_TOTAL + 1; in dcn301_timing_generator_init() 178 optc1->max_v_total = optc1->tg_mask->OTG_V_TOTAL + 1; in dcn301_timing_generator_init() 180 optc1->min_h_blank = 32; in dcn301_timing_generator_init() [all …]
|
H A D | dcn301_optc.h | 32 void dcn301_timing_generator_init(struct optc *optc1);
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | dcn30_fpu.c | 37 optc1->tg_regs->reg 40 optc1->base.ctx 44 optc1->tg_shift->field_name, optc1->tg_mask->field_name 184 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_fpu_set_vrr_m_const() local
|