Home
last modified time | relevance | path

Searched refs:dpte_row_width_ub (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c613 unsigned int dpte_row_width_ub; in get_surf_rq_param() local
807 dpte_row_width_ub = 0; in get_surf_rq_param()
863 dpte_row_width_ub = dml_round_to_multiple( in get_surf_rq_param()
867 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_surf_rq_param()
872 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_surf_rq_param()
874 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_surf_rq_param()
879 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_surf_rq_param()
881 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_surf_rq_param()
923 (double) dpte_row_width_ub / dpte_group_width, in get_surf_rq_param()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c397 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local
620 dpte_row_width_ub = dml_round_to_multiple( in get_meta_and_pte_attr()
624 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr()
630 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr()
632 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr()
637 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_meta_and_pte_attr()
639 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr()
681 (double) dpte_row_width_ub / dpte_group_width, in get_meta_and_pte_attr()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20.c406 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local
619 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_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr()
628 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr()
630 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr()
635 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_meta_and_pte_attr()
637 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr()
673 rq_dlg_param->dpte_groups_per_row_ub = dml_ceil((double) dpte_row_width_ub / dpte_group_width, in get_meta_and_pte_attr()
H A Ddisplay_rq_dlg_calc_20v2.c406 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local
619 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_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr()
628 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr()
630 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr()
635 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_meta_and_pte_attr()
637 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr()
673 rq_dlg_param->dpte_groups_per_row_ub = dml_ceil((double) dpte_row_width_ub / dpte_group_width, in get_meta_and_pte_attr()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.h463 unsigned int *dpte_row_width_ub,
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c221 int *dpte_row_width_ub,
1811 int *dpte_row_width_ub, argument
1940 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)…
1941 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize;
1944 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER…
1945 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize;
1948 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE…
1949 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize;
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared.c4352 *p->dpte_row_width_ub = 0; in CalculateVMAndRowBytes()
4466 …*p->dpte_row_width_ub = (unsigned int)(math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height … in CalculateVMAndRowBytes()
4467 …*p->PixelPTEBytesPerRow = (unsigned int)((double)*p->dpte_row_width_ub / (double)*p->PixelPTEReqWi… in CalculateVMAndRowBytes()
4476 dml2_printf("DML::%s: dpte_row_width_ub = %u (linear)\n", __func__, *p->dpte_row_width_ub); in CalculateVMAndRowBytes()
4483 …*p->dpte_row_width_ub = (unsigned int)((math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height… in CalculateVMAndRowBytes()
4485 …*p->dpte_row_width_ub = (unsigned int)(math_floor2(p->ViewportXStart + p->SwathWidth + *p->PixelPT… in CalculateVMAndRowBytes()
4487 …*p->dpte_row_width_ub = (unsigned int)((math_ceil2((double)(p->SwathWidth - 1) / (double)*p->Pixel… in CalculateVMAndRowBytes()
4490 dml2_printf("DML::%s: dpte_row_width_ub = %u (tiled horz)\n", __func__, *p->dpte_row_width_ub); in CalculateVMAndRowBytes()
4493 *p->PixelPTEBytesPerRow = *p->dpte_row_width_ub / *p->PixelPTEReqWidth * *p->PTERequestSize; in CalculateVMAndRowBytes()
4498 …*p->dpte_row_width_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + *p->Pix… in CalculateVMAndRowBytes()
[all …]
H A Ddml2_core_shared_types.h1286 unsigned int *dpte_row_width_ub; member