/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 47 unsigned int odm_combine, in get_refcyc_per_delivery() argument 58 if (odm_combine) in get_refcyc_per_delivery() 59 refcyc_per_delivery = (double)refclk_freq_in_mhz * (double)((unsigned int)odm_combine*2) in get_refcyc_per_delivery() 60 * dml_min((double)recout_width, (double)hactive / ((unsigned int)odm_combine*2)) in get_refcyc_per_delivery() 688 if (pipe_param->dest.odm_combine) { in get_surf_rq_param() 694 hactive_odm = pipe_param->dest.hactive / ((unsigned int) pipe_param->dest.odm_combine*2); in get_surf_rq_param() 1186 if (dst->odm_combine) { in dml_rq_dlg_get_dlg_params() 1216 if (dst->odm_combine == dm_odm_combine_mode_disabled) { in dml_rq_dlg_get_dlg_params() 1219 …unsigned int odm_combine_factor = (dst->odm_combine == dm_odm_combine_mode_2to1 ? 2 : 4); // TOD… in dml_rq_dlg_get_dlg_params() 1364 if (dst->full_recout_width == 0 && !dst->odm_combine) { in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 46 unsigned int odm_combine, in get_refcyc_per_delivery() argument 57 if (odm_combine) in get_refcyc_per_delivery() 58 refcyc_per_delivery = (double) refclk_freq_in_mhz * (double) ((unsigned int) odm_combine * 2) in get_refcyc_per_delivery() 59 …* dml_min((double) recout_width, (double) hactive / ((unsigned int) odm_combine * 2)) / pclk_freq_… in get_refcyc_per_delivery() 681 if (pipe_param->dest.odm_combine) { in get_surf_rq_param() 688 hactive_odm = pipe_param->dest.hactive / ((unsigned int) pipe_param->dest.odm_combine * 2); in get_surf_rq_param() 1064 if (dst->odm_combine) { in dml_rq_dlg_get_dlg_params() 1093 if (dst->odm_combine == dm_odm_combine_mode_disabled) { in dml_rq_dlg_get_dlg_params() 1096 …unsigned int odm_combine_factor = (dst->odm_combine == dm_odm_combine_mode_2to1 ? 2 : 4); // TODO:… in dml_rq_dlg_get_dlg_params() 1212 if (dst->full_recout_width == 0 && !dst->odm_combine) { in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 134 unsigned int odm_combine, in get_refcyc_per_delivery() argument 145 if (odm_combine) in get_refcyc_per_delivery() 146 refcyc_per_delivery = (double) refclk_freq_in_mhz * (double) ((unsigned int) odm_combine * 2) in get_refcyc_per_delivery() 147 …* dml_min((double) recout_width, (double) hactive / ((unsigned int) odm_combine * 2)) / pclk_freq_… in get_refcyc_per_delivery() 769 if (pipe_param->dest.odm_combine) { in get_surf_rq_param() 776 hactive_odm = pipe_param->dest.hactive / ((unsigned int) pipe_param->dest.odm_combine * 2); in get_surf_rq_param() 1178 if (dst->odm_combine) { in dml_rq_dlg_get_dlg_params() 1207 if (dst->odm_combine == dm_odm_combine_mode_disabled) { in dml_rq_dlg_get_dlg_params() 1210 …unsigned int odm_combine_factor = (dst->odm_combine == dm_odm_combine_mode_2to1 ? 2 : 4); // TODO:… in dml_rq_dlg_get_dlg_params() 1327 if (dst->full_recout_width == 0 && !dst->odm_combine) { in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 121 bool odm_combine, in get_refcyc_per_delivery() argument 132 if (odm_combine) in get_refcyc_per_delivery() 1211 if (dst->full_recout_width == 0 && !dst->odm_combine) { in dml20_rq_dlg_get_dlg_params() 1224 dst->odm_combine, in dml20_rq_dlg_get_dlg_params() 1235 dst->odm_combine, in dml20_rq_dlg_get_dlg_params() 1260 dst->odm_combine, in dml20_rq_dlg_get_dlg_params() 1271 dst->odm_combine, in dml20_rq_dlg_get_dlg_params() 1299 dst->odm_combine, in dml20_rq_dlg_get_dlg_params() 1309 dst->odm_combine, in dml20_rq_dlg_get_dlg_params() 1331 dst->odm_combine, in dml20_rq_dlg_get_dlg_params() [all …]
|
D | display_rq_dlg_calc_20v2.c | 121 bool odm_combine, in get_refcyc_per_delivery() argument 132 if (odm_combine) in get_refcyc_per_delivery() 1212 if (dst->full_recout_width == 0 && !dst->odm_combine) { in dml20v2_rq_dlg_get_dlg_params() 1225 dst->odm_combine, in dml20v2_rq_dlg_get_dlg_params() 1236 dst->odm_combine, in dml20v2_rq_dlg_get_dlg_params() 1261 dst->odm_combine, in dml20v2_rq_dlg_get_dlg_params() 1272 dst->odm_combine, in dml20v2_rq_dlg_get_dlg_params() 1300 dst->odm_combine, in dml20v2_rq_dlg_get_dlg_params() 1310 dst->odm_combine, in dml20v2_rq_dlg_get_dlg_params() 1332 dst->odm_combine, in dml20v2_rq_dlg_get_dlg_params() [all …]
|
D | dcn20_fpu.c | 1261 pipes[pipe_cnt].pipe.dest.odm_combine = dm_odm_combine_mode_2to1; in dcn20_populate_dml_pipes_from_context() 1264 pipes[pipe_cnt].pipe.dest.odm_combine = dm_odm_combine_mode_4to1; in dcn20_populate_dml_pipes_from_context() 1267 pipes[pipe_cnt].pipe.dest.odm_combine = dm_odm_combine_mode_disabled; in dcn20_populate_dml_pipes_from_context() 1392 …pipes[pipe_cnt].pipe.src.is_hsplit = pipes[pipe_cnt].pipe.dest.odm_combine != dm_odm_combine_mode_… in dcn20_populate_dml_pipes_from_context() 1422 if (pipes[pipe_cnt].pipe.dest.odm_combine == dm_odm_combine_mode_2to1) { in dcn20_populate_dml_pipes_from_context() 1425 } else if (pipes[pipe_cnt].pipe.dest.odm_combine == dm_odm_combine_mode_4to1) { in dcn20_populate_dml_pipes_from_context() 1436 || pipes[pipe_cnt].pipe.dest.odm_combine != dm_odm_combine_mode_disabled; in dcn20_populate_dml_pipes_from_context() 1492 if (pipes[pipe_cnt].pipe.dest.odm_combine == dm_odm_combine_mode_2to1) in dcn20_populate_dml_pipes_from_context() 1494 else if (pipes[pipe_cnt].pipe.dest.odm_combine == dm_odm_combine_mode_4to1) in dcn20_populate_dml_pipes_from_context() 1594 pipes[pipe_cnt].pipe.dest.odm_combine = in dcn20_calculate_wm() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 97 bool odm_combine, in get_refcyc_per_delivery() argument 108 if (odm_combine) in get_refcyc_per_delivery() 720 if (pipe_param->dest.odm_combine) { in get_surf_rq_param() 1263 if (dst->full_recout_width == 0 && !dst->odm_combine) { in dml_rq_dlg_get_dlg_params() 1278 dst->odm_combine, in dml_rq_dlg_get_dlg_params() 1290 dst->odm_combine, in dml_rq_dlg_get_dlg_params() 1317 dst->odm_combine, in dml_rq_dlg_get_dlg_params() 1329 dst->odm_combine, in dml_rq_dlg_get_dlg_params() 1360 dst->odm_combine, in dml_rq_dlg_get_dlg_params() 1371 dst->odm_combine, in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_rq_dlg_calc_32.c | 302 if (dst->odm_combine == dm_odm_combine_mode_2to1 || dst->odm_combine == dm_odm_combine_mode_4to1) { in dml32_rq_dlg_get_dlg_reg() 332 if (dst->odm_combine == dm_odm_combine_mode_disabled) { in dml32_rq_dlg_get_dlg_reg() 336 …if (dst->odm_combine == dm_odm_combine_mode_2to1 || dst->odm_combine == dm_odm_combine_mode_4to1) { in dml32_rq_dlg_get_dlg_reg() 338 unsigned int odm_combine_factor = (dst->odm_combine == dm_odm_combine_mode_2to1 ? 2 : 4); in dml32_rq_dlg_get_dlg_reg()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/virtual/ |
D | virtual_stream_encoder.c | 88 bool odm_combine) in virtual_enc_dp_set_odm_combine() argument
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_dio_stream_encoder.c | 55 bool odm_combine) in enc32_dp_set_odm_combine() argument 59 REG_UPDATE(DP_PIXEL_FORMAT, DP_PIXEL_PER_CYCLE_PROCESSING_MODE, odm_combine ? 1 : 0); in enc32_dp_set_odm_combine()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_dio_stream_encoder.c | 88 bool odm_combine) in enc314_dp_set_odm_combine() argument 92 REG_UPDATE(DP_PIXEL_FORMAT, DP_PIXEL_PER_CYCLE_PROCESSING_MODE, odm_combine); in enc314_dp_set_odm_combine()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_stream_encoder.c | 538 bool odm_combine) in enc2_dp_set_odm_combine() argument 542 REG_UPDATE(DP_PIXEL_FORMAT, DP_PIXEL_COMBINE, odm_combine); in enc2_dp_set_odm_combine()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | stream_encoder.h | 248 bool odm_combine);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dio_stream_encoder.c | 483 bool odm_combine) in enc3_dp_set_odm_combine() argument 487 REG_UPDATE(DP_PIXEL_FORMAT, DP_PIXEL_COMBINE, odm_combine); in enc3_dp_set_odm_combine()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_lib.c | 242 dml_print("DML PARAMS: odm_combine = %d\n", pipe_dest->odm_combine); in dml_log_pipe_params()
|
D | display_mode_structs.h | 528 unsigned int odm_combine; member
|
D | display_mode_vba.c | 618 dst->odm_combine; in fetch_pipe_params() 771 if (dst->odm_combine && !src->is_hsplit) in fetch_pipe_params()
|