Home
last modified time | relevance | path

Searched refs:vp_height_dpte_ub (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c2310 unsigned int vp_height_dpte_ub; in dml32_CalculateVMAndRowBytes() local
2378 vp_height_dpte_ub = dml_floor(ViewportYStart + ViewportHeight + in dml32_CalculateVMAndRowBytes()
2382 vp_height_dpte_ub = dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight; in dml32_CalculateVMAndRowBytes()
2384 vp_height_dpte_ub = dml_ceil(SwathWidth - 1, MacroTileHeight) + MacroTileHeight; in dml32_CalculateVMAndRowBytes()
2386 …*DPDE0BytesFrame = 64 * (dml_ceil((Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / in dml32_CalculateVMAndRowBytes()
2392 vp_height_dpte_ub = 0; in dml32_CalculateVMAndRowBytes()
2414 dml_print("DML::%s: vp_height_dpte_ub = %d\n", __func__, vp_height_dpte_ub); in dml32_CalculateVMAndRowBytes()
2444 *dpte_row_height_one_row_per_frame = vp_height_dpte_ub; in dml32_CalculateVMAndRowBytes()
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.c2496 dml_uint_t vp_height_dpte_ub; in CalculateVMAndRowBytes() local
2550vp_height_dpte_ub = (dml_uint_t)(dml_floor(ViewportYStart + ViewportHeight + MacroTileHeight - 1, … in CalculateVMAndRowBytes()
2552 vp_height_dpte_ub = (dml_uint_t)(dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight); in CalculateVMAndRowBytes()
2554 vp_height_dpte_ub = (dml_uint_t)(dml_ceil(SwathWidth - 1, MacroTileHeight) + MacroTileHeight); in CalculateVMAndRowBytes()
2558 …*DPDE0BytesFrame = (dml_uint_t)(64 * (dml_ceil((dml_float_t) (Pitch * vp_height_dpte_ub * BytePerP… in CalculateVMAndRowBytes()
2584 dml_print("DML::%s: vp_height_dpte_ub = %u\n", __func__, vp_height_dpte_ub); in CalculateVMAndRowBytes()
2611 *dpte_row_height_one_row_per_frame = vp_height_dpte_ub; in CalculateVMAndRowBytes()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared.c4291 unsigned int vp_height_dpte_ub; in CalculateVMAndRowBytes() local
4370vp_height_dpte_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + p->MacroTil… in CalculateVMAndRowBytes()
4372vp_height_dpte_ub = (unsigned int)(math_ceil2((double)p->ViewportHeight - 1, p->MacroTileHeight) +… in CalculateVMAndRowBytes()
4374vp_height_dpte_ub = (unsigned int)(math_ceil2((double)p->SwathWidth - 1, p->MacroTileHeight) + p->… in CalculateVMAndRowBytes()
4378 …_per_frame_ub = (unsigned int)(64 * (math_ceil2((double)(p->Pitch * vp_height_dpte_ub * p->BytePer… in CalculateVMAndRowBytes()
4404 dml2_printf("DML::%s: vp_height_dpte_ub = %u\n", __func__, vp_height_dpte_ub); in CalculateVMAndRowBytes()
4460 *p->dpte_row_height_one_row_per_frame = vp_height_dpte_ub; in CalculateVMAndRowBytes()
H A Ddml2_core_dcn4_calcs.c1614 unsigned int vp_height_dpte_ub; in CalculateVMAndRowBytes() local
1694vp_height_dpte_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + p->MacroTil… in CalculateVMAndRowBytes()
1696vp_height_dpte_ub = (unsigned int)(math_ceil2((double)p->ViewportHeight - 1, p->MacroTileHeight) +… in CalculateVMAndRowBytes()
1698vp_height_dpte_ub = (unsigned int)(math_ceil2((double)p->SwathWidth - 1, p->MacroTileHeight) + p->… in CalculateVMAndRowBytes()
1702 …_per_frame_ub = (unsigned int)(64 * (math_ceil2((double)(p->Pitch * vp_height_dpte_ub * p->BytePer… in CalculateVMAndRowBytes()
1728 dml2_printf("DML::%s: vp_height_dpte_ub = %u\n", __func__, vp_height_dpte_ub); in CalculateVMAndRowBytes()
1782 *p->dpte_row_height_one_row_per_frame = vp_height_dpte_ub; in CalculateVMAndRowBytes()