/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml1_display_rq_dlg_calc.c | 614 unsigned int dpte_row_height; in get_surf_rq_param() local 808 dpte_row_height = 0; in get_surf_rq_param() 858 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_surf_rq_param() 864 data_pitch * dpte_row_height - 1, in get_surf_rq_param() 883 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_surf_rq_param() 895 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_surf_rq_param() 950 if (rq_dlg_param->dpte_row_height != func_dpte_row_height) { in get_surf_rq_param() 953 rq_dlg_param->dpte_row_height); in get_surf_rq_param() 1555 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height; in dml1_rq_dlg_get_dlg_params() 1556 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height; in dml1_rq_dlg_get_dlg_params()
|
H A D | display_rq_dlg_helpers.c | 89 rq_dlg_param->dpte_row_height); in print__data_rq_dlg_params_st()
|
H A D | display_mode_structs.h | 588 unsigned int dpte_row_height; member
|
H A D | display_mode_vba.h | 830 unsigned int dpte_row_height[DC__NUM_DPP__MAX]; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A 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() 601 unsigned int dpte_row_height; in get_meta_and_pte_attr() local 618 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 619 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 645 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 1138 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height; in dml20_rq_dlg_get_dlg_params() 1139 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height; in dml20_rq_dlg_get_dlg_params()
|
H A 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() 601 unsigned int dpte_row_height; in get_meta_and_pte_attr() local 618 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 619 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 645 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 1139 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height; in dml20v2_rq_dlg_get_dlg_params() 1140 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height; in dml20v2_rq_dlg_get_dlg_params()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A 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() 599 unsigned int dpte_row_height; in get_meta_and_pte_attr() local 619 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 621 data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 647 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 1190 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height; in dml_rq_dlg_get_dlg_params() 1191 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height; in dml_rq_dlg_get_dlg_params()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 122 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() 127 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() 573 unsigned int dpte_row_height = 0; in get_meta_and_pte_attr() local 589 dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 590 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 616 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height; in get_meta_and_pte_attr() 1294 dpte_row_height_l = rq_dlg_param.rq_l.dpte_row_height; in dml_rq_dlg_get_dlg_params() 1295 dpte_row_height_c = rq_dlg_param.rq_c.dpte_row_height; in dml_rq_dlg_get_dlg_params()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_dcn4_calcs.h | 34 void dml2_core_calcs_get_dpte_row_height(unsigned int *dpte_row_height, struct dml2_core_internal_d…
|
H A D | dml2_core_shared_types.h | 449 unsigned int dpte_row_height[DML2_MAX_PLANES]; member 612 unsigned int dpte_row_height[DML2_MAX_PLANES]; member 1314 unsigned int *dpte_row_height; member 1492 unsigned int *dpte_row_height; member
|
H A D | dml2_core_dcn4_calcs.c | 1692 *p->dpte_row_height = 0; in CalculateVMAndRowBytes() 1803 …*p->dpte_row_height = (unsigned int)(math_min2(128, (double)(1ULL << (unsigned int)math_floor2(mat… in CalculateVMAndRowBytes() 1804 …*p->dpte_row_width_ub = (unsigned int)(math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height … in CalculateVMAndRowBytes() 1817 *p->dpte_row_height = *p->PixelPTEReqHeight; in CalculateVMAndRowBytes() 1820 …idth_ub = (unsigned int)((math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height / (double)*p-… in CalculateVMAndRowBytes() 1832 *p->dpte_row_height = (unsigned int)(math_min2(*p->PixelPTEReqWidth, p->MacroTileWidth)); in CalculateVMAndRowBytes() 1857 dml2_printf("DML::%s: dpte_row_height = %u\n", __func__, *p->dpte_row_height); in CalculateVMAndRowBytes() 2952 scratch->calculate_vm_and_row_bytes_params.dpte_row_height = &p->dpte_row_height_chroma[k]; in CalculateVMRowAndSwath() 3030 scratch->calculate_vm_and_row_bytes_params.dpte_row_height = &p->dpte_row_height_luma[k]; in CalculateVMRowAndSwath() 6499 unsigned int dpte_row_height, in CalculateFlipSchedule() argument [all …]
|
H A D | dml2_core_shared.c | 647 unsigned int dpte_row_height, 1710 CalculateVMRowAndSwath_params->dpte_row_height_luma = mode_lib->ms.dpte_row_height; in dml2_core_shared_mode_support() 2581 mode_lib->ms.dpte_row_height[k], in dml2_core_shared_mode_support() 4353 *p->dpte_row_height = 0; in CalculateVMAndRowBytes() 4465 …*p->dpte_row_height = (unsigned int)(math_min2(128, (double)(1ULL << (unsigned int)math_floor2(mat… in CalculateVMAndRowBytes() 4466 …*p->dpte_row_width_ub = (unsigned int)(math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height … in CalculateVMAndRowBytes() 4480 *p->dpte_row_height = *p->PixelPTEReqHeight; in CalculateVMAndRowBytes() 4483 …idth_ub = (unsigned int)((math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height / (double)*p-… in CalculateVMAndRowBytes() 4495 *p->dpte_row_height = (unsigned int)(math_min2(*p->PixelPTEReqWidth, p->MacroTileWidth)); in CalculateVMAndRowBytes() 4519 dml2_printf("DML::%s: dpte_row_height = %u\n", __func__, *p->dpte_row_height); in CalculateVMAndRowBytes() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.h | 464 unsigned int *dpte_row_height, 792 unsigned int dpte_row_height, 906 unsigned int dpte_row_height[],
|
H A D | display_mode_vba_util_32.c | 2292 unsigned int *dpte_row_height, in dml32_CalculateVMAndRowBytes() 2456 *dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * in dml32_CalculateVMAndRowBytes() 2468 dml_print("DML::%s: dpte_row_height = %d\n", __func__, *dpte_row_height); in dml32_CalculateVMAndRowBytes() 2470 *dpte_row_width_ub = dml_ceil(((double) Pitch * (double) *dpte_row_height - 1), in dml32_CalculateVMAndRowBytes() 2481 *dpte_row_height = *PixelPTEReqHeight; in dml32_CalculateVMAndRowBytes() 2484 *dpte_row_width_ub = (dml_ceil((Pitch * *dpte_row_height / *PixelPTEReqHeight - 1) / in dml32_CalculateVMAndRowBytes() 2497 *dpte_row_height = dml_min(*PixelPTEReqWidth, MacroTileWidth); in dml32_CalculateVMAndRowBytes() 2517 dml_print("DML::%s: dpte_row_height = %d\n", __func__, *dpte_row_height); in dml32_CalculateVMAndRowBytes() 4136 unsigned int dpte_row_height, in dml32_CalculateFlipSchedule() argument 4215 min_row_time = dml_min(dpte_row_height * in dml32_CalculateFlipSchedule() [all …]
|
H A D | display_mode_vba_32.c | 489 v->dpte_row_height, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1057 v->dpte_row_height[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1303 v->dpte_row_height, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2782 mode_lib->vba.dpte_row_height, in dml32_ModeSupportAndSystemConfigurationFull() 3495 mode_lib->vba.dpte_row_height[k], in dml32_ModeSupportAndSystemConfigurationFull()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core.h | 38 dml_uint_t *dpte_row_height,
|
H A D | display_mode_core.c | 260 dml_uint_t *dpte_row_height, 329 dml_uint_t dpte_row_height, 509 dml_uint_t dpte_row_height[], 1967 dml_uint_t dpte_row_height, in CalculateFlipSchedule() argument 2038 …min_row_time = dml_min(dpte_row_height * LineTime / VRatio, dpte_row_height_chroma * LineTime / VR… in CalculateFlipSchedule() 2042 …min_row_time = dml_min4(dpte_row_height * LineTime / VRatio, meta_row_height * LineTime / VRatio, … in CalculateFlipSchedule() 2046 min_row_time = dpte_row_height * LineTime / VRatio; in CalculateFlipSchedule() 2050 min_row_time = dml_min(dpte_row_height * LineTime / VRatio, meta_row_height * LineTime / VRatio); in CalculateFlipSchedule() 2476 dml_uint_t *dpte_row_height, in CalculateVMAndRowBytes() 2617 …*dpte_row_height = (dml_uint_t)(dml_min(128, 1 << (dml_uint_t) dml_floor(dml_log2(PTEBufferSizeInR… in CalculateVMAndRowBytes() [all …]
|
H A D | display_mode_core_structs.h | 939 dml_uint_t dpte_row_height[__DML_NUM_PLANES__]; member 1062 dml_uint_t dpte_row_height[__DML_NUM_PLANES__]; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 222 unsigned int *dpte_row_height, 415 int dpte_row_height[], 1812 unsigned int *dpte_row_height, 1939 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *… 1940 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)… 1943 *dpte_row_height = *PixelPTEReqHeight; 1947 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth); 2394 &v->dpte_row_height[k], 2434 v->dpte_row_height[k], 3022 v->dpte_row_height, [all …]
|