Home
last modified time | relevance | path

Searched refs:dpte_row_height (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c615 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()
1556 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height; in dml1_rq_dlg_get_dlg_params()
1557 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height; in dml1_rq_dlg_get_dlg_params()
Ddisplay_rq_dlg_helpers.c89 rq_dlg_param->dpte_row_height); in print__data_rq_dlg_params_st()
Ddisplay_mode_structs.h585 unsigned int dpte_row_height; member
Ddisplay_mode_vba.h819 unsigned int dpte_row_height[DC__NUM_DPP__MAX]; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c198 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()
Ddisplay_rq_dlg_calc_20v2.c198 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()
Ddisplay_mode_vba_20.c154 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 …]
Ddisplay_mode_vba_20v2.c178 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 …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c177 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()
Ddisplay_mode_vba_21.c195 unsigned int *dpte_row_height,
268 unsigned int dpte_row_height,
433 unsigned int dpte_row_height[],
1283 unsigned int *dpte_row_height, in CalculateVMAndRowBytes()
1418 *dpte_row_height = dml_min(128, in CalculateVMAndRowBytes()
1423 …*dpte_row_width_ub = (dml_ceil((double) (Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1… in CalculateVMAndRowBytes()
1426 *dpte_row_height = *PixelPTEReqHeight; in CalculateVMAndRowBytes()
1430 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes()
1964 &locals->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1994 locals->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c124 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()
129 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()
579 unsigned int dpte_row_height = 0; in get_meta_and_pte_attr() local
595 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr()
596 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr()
622 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr()
1301 dpte_row_height_l = rq_dlg_param.rq_l.dpte_row_height; in dml_rq_dlg_get_dlg_params()
1302 dpte_row_height_c = rq_dlg_param.rq_c.dpte_row_height; in dml_rq_dlg_get_dlg_params()
Ddisplay_mode_vba_30.c207 unsigned int *dpte_row_height,
263 unsigned int dpte_row_height,
453 int dpte_row_height[],
1684 unsigned int *dpte_row_height, in CalculateVMAndRowBytes()
1805 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *… in CalculateVMAndRowBytes()
1809 *dpte_row_height = *PixelPTEReqHeight; in CalculateVMAndRowBytes()
1813 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes()
2275 &v->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2316 v->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2679 v->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c119 …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()
123 …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()
578 unsigned int dpte_row_height; in get_meta_and_pte_attr() local
594 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr()
595 …dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, dpte_req_width, 1) + d… in get_meta_and_pte_attr()
615 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr()
1145 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height; in dml_rq_dlg_get_dlg_params()
1146 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height; in dml_rq_dlg_get_dlg_params()
Ddisplay_mode_vba_31.c223 unsigned int *dpte_row_height,
416 int dpte_row_height[],
1812 unsigned int *dpte_row_height,
1948 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…
1949 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)…
1952 *dpte_row_height = *PixelPTEReqHeight;
1956 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2403 &v->dpte_row_height[k],
2443 v->dpte_row_height[k],
3031 v->dpte_row_height,
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c207 …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()
211 …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()
666 unsigned int dpte_row_height; in get_meta_and_pte_attr() local
682 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr()
683 …dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, dpte_req_width, 1) + d… in get_meta_and_pte_attr()
703 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr()
1260 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height; in dml_rq_dlg_get_dlg_params()
1261 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height; in dml_rq_dlg_get_dlg_params()
Ddisplay_mode_vba_314.c235 unsigned int *dpte_row_height,
428 int dpte_row_height[],
1833 unsigned int *dpte_row_height,
1969 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…
1970 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)…
1973 *dpte_row_height = *PixelPTEReqHeight;
1977 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2425 &v->dpte_row_height[k],
2465 v->dpte_row_height[k],
3053 v->dpte_row_height,
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.h461 unsigned int *dpte_row_height,
788 unsigned int dpte_row_height,
902 unsigned int dpte_row_height[],
Ddisplay_mode_vba_util_32.c2285 unsigned int *dpte_row_height, in dml32_CalculateVMAndRowBytes()
2449 *dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * in dml32_CalculateVMAndRowBytes()
2461 dml_print("DML::%s: dpte_row_height = %d\n", __func__, *dpte_row_height); in dml32_CalculateVMAndRowBytes()
2463 *dpte_row_width_ub = dml_ceil(((double) Pitch * (double) *dpte_row_height - 1), in dml32_CalculateVMAndRowBytes()
2474 *dpte_row_height = *PixelPTEReqHeight; in dml32_CalculateVMAndRowBytes()
2477 *dpte_row_width_ub = (dml_ceil((Pitch * *dpte_row_height / *PixelPTEReqHeight - 1) / in dml32_CalculateVMAndRowBytes()
2490 *dpte_row_height = dml_min(*PixelPTEReqWidth, MacroTileWidth); in dml32_CalculateVMAndRowBytes()
2510 dml_print("DML::%s: dpte_row_height = %d\n", __func__, *dpte_row_height); in dml32_CalculateVMAndRowBytes()
4106 unsigned int dpte_row_height, in dml32_CalculateFlipSchedule() argument
4185 min_row_time = dml_min(dpte_row_height * in dml32_CalculateFlipSchedule()
[all …]
Ddisplay_mode_vba_32.c487 v->dpte_row_height, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1045 v->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1291 v->dpte_row_height, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2754 mode_lib->vba.dpte_row_height, in dml32_ModeSupportAndSystemConfigurationFull()
3459 mode_lib->vba.dpte_row_height[k], in dml32_ModeSupportAndSystemConfigurationFull()