/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 615 unsigned int dpte_row_height; in get_surf_rq_param() local 809 dpte_row_height = 0; in get_surf_rq_param() 859 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_surf_rq_param() 865 data_pitch * dpte_row_height - 1, in get_surf_rq_param() 884 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_surf_rq_param() 896 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_surf_rq_param() 951 if (rq_dlg_param->dpte_row_height != func_dpte_row_height) { in get_surf_rq_param() 954 rq_dlg_param->dpte_row_height); in get_surf_rq_param() 1560 dpte_row_height_l = rq_dlg_param.rq_l.dpte_row_height; in dml1_rq_dlg_get_dlg_params() 1561 dpte_row_height_c = rq_dlg_param.rq_c.dpte_row_height; in dml1_rq_dlg_get_dlg_params()
|
D | display_rq_dlg_helpers.c | 89 rq_dlg_param.dpte_row_height); in print__data_rq_dlg_params_st()
|
D | display_mode_structs.h | 405 unsigned int dpte_row_height; member
|
D | display_mode_vba.h | 598 unsigned int dpte_row_height[DC__NUM_DPP__MAX]; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20v2.c | 198 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs() 203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs() 608 unsigned int dpte_row_height; in get_meta_and_pte_attr() local 625 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 626 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 652 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 1149 dpte_row_height_l = rq_dlg_param.rq_l.dpte_row_height; in dml20v2_rq_dlg_get_dlg_params() 1150 dpte_row_height_c = rq_dlg_param.rq_c.dpte_row_height; in dml20v2_rq_dlg_get_dlg_params()
|
D | display_rq_dlg_calc_20.c | 198 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs() 203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs() 608 unsigned int dpte_row_height; in get_meta_and_pte_attr() local 625 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 626 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 652 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 1148 dpte_row_height_l = rq_dlg_param.rq_l.dpte_row_height; in dml20_rq_dlg_get_dlg_params() 1149 dpte_row_height_c = rq_dlg_param.rq_c.dpte_row_height; in dml20_rq_dlg_get_dlg_params()
|
D | display_mode_vba_20.c | 154 unsigned int *dpte_row_height, 213 unsigned int dpte_row_height, 881 unsigned int *dpte_row_height, in CalculateVMAndRowBytes() argument 1039 *dpte_row_height = in CalculateVMAndRowBytes() 1055 (double) (Pitch * *dpte_row_height - 1) in CalculateVMAndRowBytes() 1059 *dpte_row_height = PixelPTEReqHeight; in CalculateVMAndRowBytes() 1064 *dpte_row_height = dml_min(PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes() 1891 &mode_lib->vba.dpte_row_height[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1970 mode_lib->vba.dpte_row_height[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2290 mode_lib->vba.dpte_row_height[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
D | display_mode_vba_20v2.c | 178 unsigned int *dpte_row_height, 237 unsigned int dpte_row_height, 941 unsigned int *dpte_row_height, in CalculateVMAndRowBytes() argument 1099 *dpte_row_height = in CalculateVMAndRowBytes() 1115 (double) (Pitch * *dpte_row_height - 1) in CalculateVMAndRowBytes() 1119 *dpte_row_height = PixelPTEReqHeight; in CalculateVMAndRowBytes() 1124 *dpte_row_height = dml_min(PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes() 1927 &mode_lib->vba.dpte_row_height[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2006 mode_lib->vba.dpte_row_height[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2324 mode_lib->vba.dpte_row_height[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 177 dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs() 183 dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs() 606 unsigned int dpte_row_height; in get_meta_and_pte_attr() local 626 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 628 data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 654 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 1200 dpte_row_height_l = rq_dlg_param.rq_l.dpte_row_height; in dml_rq_dlg_get_dlg_params() 1201 dpte_row_height_c = rq_dlg_param.rq_c.dpte_row_height; in dml_rq_dlg_get_dlg_params()
|
D | display_mode_vba_21.c | 195 unsigned int *dpte_row_height, 268 unsigned int dpte_row_height, 433 unsigned int dpte_row_height[], 1278 unsigned int *dpte_row_height, in CalculateVMAndRowBytes() 1413 *dpte_row_height = dml_min(128, in CalculateVMAndRowBytes() 1418 …*dpte_row_width_ub = (dml_ceil((double) (Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1… in CalculateVMAndRowBytes() 1421 *dpte_row_height = *PixelPTEReqHeight; in CalculateVMAndRowBytes() 1425 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes() 1959 &locals->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1989 locals->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 123 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs() 128 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs() 668 unsigned int dpte_row_height = 0; in get_meta_and_pte_attr() local 684 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 685 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 711 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 1390 dpte_row_height_l = rq_dlg_param.rq_l.dpte_row_height; in dml_rq_dlg_get_dlg_params() 1391 dpte_row_height_c = rq_dlg_param.rq_c.dpte_row_height; in dml_rq_dlg_get_dlg_params()
|
D | display_mode_vba_30.c | 207 unsigned int *dpte_row_height, 263 unsigned int dpte_row_height, 507 int dpte_row_height[], 1750 unsigned int *dpte_row_height, in CalculateVMAndRowBytes() 1871 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *… in CalculateVMAndRowBytes() 1875 *dpte_row_height = *PixelPTEReqHeight; in CalculateVMAndRowBytes() 1879 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes() 2341 &v->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2382 v->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2744 v->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|