Home
last modified time | relevance | path

Searched refs:ViewportHeight (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.h108 unsigned int ViewportHeight[],
156 unsigned int ViewportHeight[],
445 unsigned int ViewportHeight,
488 unsigned int ViewportHeight,
Ddisplay_mode_vba_util_32.c419 unsigned int ViewportHeight[], in dml32_CalculateSwathAndDETConfiguration()
484 ViewportHeight, in dml32_CalculateSwathAndDETConfiguration()
688 unsigned int ViewportHeight[], in dml32_CalculateSwathWidth() argument
736 SwathWidthdoubleDPPY[k] = ViewportHeight[k]; in dml32_CalculateSwathWidth()
740 dml_print("DML::%s: k=%d ViewportHeight=%d\n", __func__, k, ViewportHeight[k]); in dml32_CalculateSwathWidth()
2101 myPipe[k].ViewportHeight, in dml32_CalculateVMRowAndSwath()
2144 myPipe[k].ViewportHeight, in dml32_CalculateVMRowAndSwath()
2269 unsigned int ViewportHeight, in dml32_CalculateVMAndRowBytes() argument
2340 *meta_row_width = dml_floor(ViewportYStart + ViewportHeight + *MetaRequestHeight - 1, in dml32_CalculateVMAndRowBytes()
2349 vp_height_meta_ub = dml_floor(ViewportYStart + ViewportHeight + 64 * BlockHeight256Bytes - 1, in dml32_CalculateVMAndRowBytes()
[all …]
Ddisplay_mode_vba_32.c174 mode_lib->vba.ViewportHeight, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
252 mode_lib->vba.ViewportHeight, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
397 mode_lib->vba.ViewportHeight, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
427 …ermarksAndPerformanceCalculation.SurfaceParameters[k].ViewportHeight = mode_lib->vba.ViewportHeigh… in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1828 v->SwathWidthYSingleDPP[k] = mode_lib->vba.ViewportHeight[k]; in dml32_ModeSupportAndSystemConfigurationFull()
1980 mode_lib->vba.ViewportHeight, in dml32_ModeSupportAndSystemConfigurationFull()
2580 mode_lib->vba.ViewportHeight, in dml32_ModeSupportAndSystemConfigurationFull()
2661 mode_lib->vba.ViewportHeight, in dml32_ModeSupportAndSystemConfigurationFull()
2720 …deSupportAndSystemConfigurationFull.SurfParameters[k].ViewportHeight = mode_lib->vba.ViewportHeigh… in dml32_ModeSupportAndSystemConfigurationFull()
3672 || mode_lib->vba.ViewportHeight[k] > mode_lib->vba.SurfaceHeightY[k]) { in dml32_ModeSupportAndSystemConfigurationFull()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c150 unsigned int ViewportHeight,
180 unsigned int ViewportHeight,
1081 unsigned int ViewportHeight, in CalculateDCCConfiguration() argument
1105 * ViewportHeight) { in CalculateDCCConfiguration()
1112 * ViewportHeight in CalculateDCCConfiguration()
1268 unsigned int ViewportHeight, in CalculateVMAndRowBytes() argument
1320 * (dml_ceil(ViewportHeight - 1, 64 * BlockHeight256Bytes) in CalculateVMAndRowBytes()
1326 (double) ViewportHeight - 1, in CalculateVMAndRowBytes()
1368 …*DPDE0BytesFrame = 64 * (dml_ceil(((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + Macro… in CalculateVMAndRowBytes()
1690 locals->SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportHeight[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c191 unsigned int ViewportHeight,
558 int ViewportHeight[],
593 unsigned int ViewportHeight[],
1667 unsigned int ViewportHeight, in CalculateVMAndRowBytes() argument
1728 DCCMetaSurfaceBytes = DCCMetaPitch * (dml_ceil(ViewportHeight - 1, 64 * BlockHeight256Bytes) in CalculateVMAndRowBytes()
1755 …*DPDE0BytesFrame = 64 * (dml_ceil(((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + Macro… in CalculateVMAndRowBytes()
2051 v->ViewportHeight, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2261 v->ViewportHeight[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
3096 mode_lib->vba.ViewportHeight, in DisplayPipeConfiguration()
3637 v->SwathWidthYSingleDPP[k] = v->ViewportHeight[k]; in dml30_ModeSupportAndSystemConfigurationFull()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h102 unsigned int ViewportHeight; member
Ddisplay_mode_vba.c553 mode_lib->vba.ViewportHeight[mode_lib->vba.NumberOfActivePlanes] = in fetch_pipe_params()
803 mode_lib->vba.ViewportHeight[mode_lib->vba.NumberOfActivePlanes] += in fetch_pipe_params()
819 if (mode_lib->vba.ViewportHeight[mode_lib->vba.NumberOfActivePlanes] > src->viewport_height_max) in fetch_pipe_params()
820 mode_lib->vba.ViewportHeight[mode_lib->vba.NumberOfActivePlanes] = src->viewport_height_max; in fetch_pipe_params()
Ddisplay_mode_vba.h460 unsigned int ViewportHeight[DC__NUM_DPP__MAX]; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c208 unsigned int ViewportHeight,
543 int ViewportHeight[],
578 int ViewportHeight[],
1801 unsigned int ViewportHeight, argument
1860 …DCCMetaSurfaceBytes = DCCMetaPitch * (dml_ceil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 …
1888 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
2172 v->ViewportHeight,
2383 v->ViewportHeight[k],
3316 v->ViewportHeight,
3867 v->SwathWidthYSingleDPP[k] = v->ViewportHeight[k];
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c217 unsigned int ViewportHeight,
551 int ViewportHeight[],
586 int ViewportHeight[],
1818 unsigned int ViewportHeight, argument
1877 …DCCMetaSurfaceBytes = DCCMetaPitch * (dml_ceil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 …
1905 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
2190 v->ViewportHeight,
2402 v->ViewportHeight[k],
3334 v->ViewportHeight,
3958 v->SwathWidthYSingleDPP[k] = v->ViewportHeight[k];
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_utils.c57 dml_plane_array->ViewportHeight[dst_index] = dml_plane_array->ViewportHeight[src_index]; in dml2_util_copy_dml_plane()
Ddisplay_mode_core.c224 dml_uint_t ViewportHeight,
243 dml_uint_t ViewportHeight,
586 dml_uint_t ViewportHeight[],
2382 dml_uint_t ViewportHeight, in CalculatePrefetchSourceLines() argument
2411 …vp_start_rot = SwathHeight - (((dml_uint_t) (ViewportYStart + ViewportHeight - 1) % SwathHeight) +… in CalculatePrefetchSourceLines()
2458 dml_uint_t ViewportHeight, in CalculateVMAndRowBytes() argument
2516 …*meta_row_width = (dml_uint_t)(dml_floor(ViewportYStart + ViewportHeight + *MetaRequestHeight - 1,… in CalculateVMAndRowBytes()
2524 …vp_height_meta_ub = (dml_uint_t)(dml_floor(ViewportYStart + ViewportHeight + 64 * BlockHeight256By… in CalculateVMAndRowBytes()
2526 …vp_height_meta_ub = (dml_uint_t)(dml_ceil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * Blo… in CalculateVMAndRowBytes()
2550 …vp_height_dpte_ub = (dml_uint_t)(dml_floor(ViewportYStart + ViewportHeight + MacroTileHeight - 1, … in CalculateVMAndRowBytes()
[all …]
Ddisplay_mode_core_structs.h402 dml_uint_t ViewportHeight; member
486 dml_uint_t ViewportHeight[__DML_NUM_PLANES__]; member
1425 dml_uint_t *ViewportHeight; member
Ddml2_wrapper.c187 p->new_display_config->plane.ViewportHeight[new_surface_index] = subvp_height; in optimize_configuration()
Ddml2_translation_helper.c978 out->ViewportHeight[location] = height; in populate_dummy_dml_plane_cfg()
1028 out->ViewportHeight[location] = scaler_data->viewport.height; in populate_dml_plane_cfg_from_plane_state()
Ddisplay_mode_util.c561 dml_print("DML: plane_cfg: plane=%d, ViewportHeight = %d\n", i, plane->ViewportHeight[i]); in dml_print_dml_display_cfg_plane()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c142 unsigned int ViewportHeight,
869 unsigned int ViewportHeight, in CalculateVMAndRowBytes() argument
914 * (dml_ceil(ViewportHeight - 1, 64 * BlockHeight256Bytes) in CalculateVMAndRowBytes()
920 (double) ViewportHeight - 1, in CalculateVMAndRowBytes()
967 ViewportHeight in CalculateVMAndRowBytes()
1337 mode_lib->vba.SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportHeight[k]; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1879 mode_lib->vba.ViewportHeight[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1921 mode_lib->vba.ViewportHeight[k] / 2, in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2849 SwathWidth = mode_lib->vba.ViewportHeight[k]; in dml20_DisplayPipeConfiguration()
3399 locals->SwathWidthYSingleDPP[k] = mode_lib->vba.ViewportHeight[k]; in dml20_ModeSupportAndSystemConfigurationFull()
[all …]
Ddisplay_mode_vba_20v2.c166 unsigned int ViewportHeight,
929 unsigned int ViewportHeight, in CalculateVMAndRowBytes() argument
974 * (dml_ceil(ViewportHeight - 1, 64 * BlockHeight256Bytes) in CalculateVMAndRowBytes()
980 (double) ViewportHeight - 1, in CalculateVMAndRowBytes()
1027 ViewportHeight in CalculateVMAndRowBytes()
1397 mode_lib->vba.SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportHeight[k]; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1915 mode_lib->vba.ViewportHeight[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1957 mode_lib->vba.ViewportHeight[k] / 2, in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2922 SwathWidth = mode_lib->vba.ViewportHeight[k]; in dml20v2_DisplayPipeConfiguration()
3506 locals->SwathWidthYSingleDPP[k] = mode_lib->vba.ViewportHeight[k]; in dml20v2_ModeSupportAndSystemConfigurationFull()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared_types.h107 unsigned int ViewportHeight; member
1269 unsigned int ViewportHeight; member
Ddml2_core_shared.c155 unsigned int ViewportHeight,
1656 …s->SurfParameters[k].ViewportHeight = display_cfg->plane_descriptors[k].composition.viewport.plane… in dml2_core_shared_mode_support()
4314 …*p->meta_row_width = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + *p->MetaRe… in CalculateVMAndRowBytes()
4322 …vp_height_meta_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + 64 * p->Blo… in CalculateVMAndRowBytes()
4324 …vp_height_meta_ub = (unsigned int)(math_ceil2(p->ViewportHeight - 1, 64 * p->BlockHeight256Bytes) … in CalculateVMAndRowBytes()
4370 …vp_height_dpte_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + p->MacroTil… in CalculateVMAndRowBytes()
4372 …vp_height_dpte_ub = (unsigned int)(math_ceil2((double)p->ViewportHeight - 1, p->MacroTileHeight) +… in CalculateVMAndRowBytes()
4402 dml2_printf("DML::%s: ViewportHeight = %u\n", __func__, p->ViewportHeight); in CalculateVMAndRowBytes()
4498 …*p->dpte_row_width_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + *p->Pix… in CalculateVMAndRowBytes()
4543 unsigned int ViewportHeight, in CalculatePrefetchSourceLines() argument
[all …]
Ddml2_core_dcn4_calcs.c1638 …*p->meta_row_width = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + *p->MetaRe… in CalculateVMAndRowBytes()
1646 …vp_height_meta_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + 64 * p->Blo… in CalculateVMAndRowBytes()
1648 …vp_height_meta_ub = (unsigned int)(math_ceil2(p->ViewportHeight - 1, 64 * p->BlockHeight256Bytes) … in CalculateVMAndRowBytes()
1694 …vp_height_dpte_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + p->MacroTil… in CalculateVMAndRowBytes()
1696 …vp_height_dpte_ub = (unsigned int)(math_ceil2((double)p->ViewportHeight - 1, p->MacroTileHeight) +… in CalculateVMAndRowBytes()
1726 dml2_printf("DML::%s: ViewportHeight = %u\n", __func__, p->ViewportHeight); in CalculateVMAndRowBytes()
1820 …*p->dpte_row_width_ub = (unsigned int)(math_floor2(p->ViewportYStart + p->ViewportHeight + *p->Pix… in CalculateVMAndRowBytes()
1866 unsigned int ViewportHeight, in CalculatePrefetchSourceLines() argument
1895 …vp_start_rot = SwathHeight - (((unsigned int)(ViewportYStart + ViewportHeight - 1) % SwathHeight) … in CalculatePrefetchSourceLines()
2922 scratch->calculate_vm_and_row_bytes_params.ViewportHeight = p->myPipe[k].ViewportHeightC; in CalculateVMRowAndSwath()
[all …]