Home
last modified time | relevance | path

Searched refs:DETBufferSizeInKByte (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c450 unsigned int DETBufferSizeInKByte[], in dml32_CalculateSwathAndDETConfiguration()
583 DETBufferSizeInKByte, // per hubp pipe in dml32_CalculateSwathAndDETConfiguration()
599 dm_use_mall_pstate_change_phantom_pipe ? 1024 : DETBufferSizeInKByte[k]); in dml32_CalculateSwathAndDETConfiguration()
646 DETBufferSizeY[k] = DETBufferSizeInKByte[k] * 1024; in dml32_CalculateSwathAndDETConfiguration()
652 DETBufferSizeY[k] = DETBufferSizeInKByte[k] * 1024 / 2; in dml32_CalculateSwathAndDETConfiguration()
653 DETBufferSizeC[k] = DETBufferSizeInKByte[k] * 1024 / 2; in dml32_CalculateSwathAndDETConfiguration()
658 DETBufferSizeY[k] = dml_floor(DETBufferSizeInKByte[k] * 1024 * 2 / 3, 1024); in dml32_CalculateSwathAndDETConfiguration()
659 DETBufferSizeC[k] = DETBufferSizeInKByte[k] * 1024 - DETBufferSizeY[k]; in dml32_CalculateSwathAndDETConfiguration()
671 dml_print("DML::%s: k=%0d DETBufferSizeInKByte = %d\n", __func__, k, DETBufferSizeInKByte[k]); in dml32_CalculateSwathAndDETConfiguration()
925 unsigned int DETBufferSizeInKByte[], in dml32_CalculateDETBufferSize() argument
[all …]
Ddisplay_mode_vba_util_32.h139 unsigned int DETBufferSizeInKByte[],
213 unsigned int DETBufferSizeInKByte[],
Ddisplay_mode_vba_32.c291 mode_lib->vba.DETBufferSizeInKByte, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
3722 mode_lib->vba.DETBufferSizeInKByte[k] = in dml32_ModeSupportAndSystemConfigurationFull()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c301 unsigned int DETBufferSizeInKByte,
376 unsigned int DETBufferSizeInKByte,
551 unsigned int DETBufferSizeInKByte,
2551 v->DETBufferSizeInKByte[0], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2573 v->DETBufferSizeInKByte[0], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2748 v->DETBufferSizeInKByte[0], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2967 v->DETBufferSizeInKByte[0] * 1024, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
3089 mode_lib->vba.DETBufferSizeInKByte[0], in DisplayPipeConfiguration()
3821 v->DETBufferSizeInKByte[0], in dml30_ModeSupportAndSystemConfigurationFull()
4286 v->DETBufferSizeInKByte[0], in dml30_ModeSupportAndSystemConfigurationFull()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c292 unsigned int DETBufferSizeInKByte,
357 unsigned int DETBufferSizeInKByte,
363 unsigned int DETBufferSizeInKByte,
2254 mode_lib->vba.DETBufferSizeInKByte[0], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2424 mode_lib->vba.DETBufferSizeInKByte[0], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2597 mode_lib->vba.DETBufferSizeInKByte[0] * 1024, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2698 mode_lib->vba.DETBufferSizeInKByte[0], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2993 <= mode_lib->vba.DETBufferSizeInKByte[0] * 1024.0 / 2.0) { in DisplayPipeConfiguration()
3002 mode_lib->vba.DETBufferSizeInKByte[0], in DisplayPipeConfiguration()
4018 mode_lib->vba.DETBufferSizeInKByte[0] * 1024.0 / 2.0 in dml21_ModeSupportAndSystemConfigurationFull()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared_types.h376 …unsigned int DETBufferSizeInKByte[DML2_MAX_PLANES]; // <brief Recommended DET size configuration f… member
809 …unsigned int DETBufferSizeInKByte[DML2_MAX_PLANES]; // <brief Recommended DET size configuration f… member
1254 unsigned int *DETBufferSizeInKByte; member
1603 unsigned int *DETBufferSizeInKByte; member
Ddml2_core_shared.c1166 CalculateSwathAndDETConfiguration_params->DETBufferSizeInKByte = s->dummy_integer_array[9]; in dml2_core_shared_mode_support()
1606 …CalculateSwathAndDETConfiguration_params->DETBufferSizeInKByte = mode_lib->ms.DETBufferSizeInKByte in dml2_core_shared_mode_support()
3726 p->DETBufferSizeInKByte[0] = p->display_cfg->plane_descriptors[0].overrides.det_size_override_kb; in CalculateDETBufferSize()
3728 …p->DETBufferSizeInKByte[0] = (unsigned int)math_max2(128.0, math_ceil2(2.0 * ((double)p->full_swat… in CalculateDETBufferSize()
3730 *p->CompressedBufferSizeInkByte = p->ConfigReturnBufferSizeInKByte - p->DETBufferSizeInKByte[0]; in CalculateDETBufferSize()
3734 p->DETBufferSizeInKByte[k] = 0; in CalculateDETBufferSize()
3766 p->DETBufferSizeInKByte[k] = 0; in CalculateDETBufferSize()
3768 … p->DETBufferSizeInKByte[k] = p->display_cfg->plane_descriptors[k].overrides.det_size_override_kb; in CalculateDETBufferSize()
3771 p->DETBufferSizeInKByte[k] = minDET_pipe; in CalculateDETBufferSize()
3778 … dml2_printf("DML::%s: k=%u DETBufferSizeInKByte = %u\n", __func__, k, p->DETBufferSizeInKByte[k]); in CalculateDETBufferSize()
[all …]
Ddml2_core_dcn4_calcs.c274 dml_get_per_pipe_var_func(det_buffer_size_kbytes, unsigned int, mode_lib->mp.DETBufferSizeInKByte);
1025 unsigned int DETBufferSizeInKByte[], in CalculateDETBufferSize() argument
1048 DETBufferSizeInKByte[0] = display_cfg->plane_descriptors[0].overrides.det_size_override_kb; in CalculateDETBufferSize()
1050DETBufferSizeInKByte[0] = (unsigned int)math_max2(128.0, math_ceil2(2.0 * ((double)full_swath_byte… in CalculateDETBufferSize()
1052 *CompressedBufferSizeInkByte = ConfigReturnBufferSizeInKByte - DETBufferSizeInKByte[0]; in CalculateDETBufferSize()
1056 DETBufferSizeInKByte[k] = 0; in CalculateDETBufferSize()
1088 DETBufferSizeInKByte[k] = 0; in CalculateDETBufferSize()
1090 DETBufferSizeInKByte[k] = display_cfg->plane_descriptors[k].overrides.det_size_override_kb; in CalculateDETBufferSize()
1093 DETBufferSizeInKByte[k] = l->minDET_pipe; in CalculateDETBufferSize()
1100 dml2_printf("DML::%s: k=%u DETBufferSizeInKByte = %u\n", __func__, k, DETBufferSizeInKByte[k]); in CalculateDETBufferSize()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c536 unsigned int DETBufferSizeInKByte[],
646 unsigned int DETBufferSizeInKByte,
2923 v->DETBufferSizeInKByte[0],
3113 v->DETBufferSizeInKByte[k] * 1024,
3309 v->DETBufferSizeInKByte,
3774 …ThisState[], unsigned int config_return_buffer_size_in_kbytes, unsigned int DETBufferSizeInKByte[]) argument
3779DETBufferSizeInKByte[0] = ((config_return_buffer_size_in_kbytes - DCN3_15_MIN_COMPBUF_SIZE_KB) / 6…
3780 if (DETBufferSizeInKByte[0] > DCN3_15_MAX_DET_SIZE)
3781 DETBufferSizeInKByte[0] = DCN3_15_MAX_DET_SIZE;
3783 DETBufferSizeInKByte[i] = DETBufferSizeInKByte[0];
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c285 det_buf_size_kbytes = mode_lib->vba.DETBufferSizeInKByte[plane_idx]; // per hubp DET buffer size in get_det_buffer_size_kbytes()
435 mode_lib->vba.DETBufferSizeInKByte[0] = ip->det_buffer_size_kbytes; in fetch_ip_params()
575 mode_lib->vba.DETBufferSizeInKByte[mode_lib->vba.NumberOfActivePlanes] = src->det_size_override; in fetch_pipe_params()
577 …mode_lib->vba.DETBufferSizeInKByte[mode_lib->vba.NumberOfActivePlanes] = ip->det_buffer_size_kbyte… in fetch_pipe_params()
793 … mode_lib->vba.DETBufferSizeInKByte[mode_lib->vba.NumberOfActivePlanes] = src_k->det_size_override; in fetch_pipe_params()
Ddisplay_mode_vba.h371 unsigned int DETBufferSizeInKByte[DC__NUM_DPP__MAX]; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c2898 <= mode_lib->vba.DETBufferSizeInKByte[0] * 1024.0 / 2.0) { in dml20_DisplayPipeConfiguration()
2907 mode_lib->vba.DETBufferSizeY[k] = mode_lib->vba.DETBufferSizeInKByte[0] * 1024; in dml20_DisplayPipeConfiguration()
2910 mode_lib->vba.DETBufferSizeY[k] = mode_lib->vba.DETBufferSizeInKByte[0] in dml20_DisplayPipeConfiguration()
2912 mode_lib->vba.DETBufferSizeC[k] = mode_lib->vba.DETBufferSizeInKByte[0] in dml20_DisplayPipeConfiguration()
2915 mode_lib->vba.DETBufferSizeY[k] = mode_lib->vba.DETBufferSizeInKByte[0] in dml20_DisplayPipeConfiguration()
2917 mode_lib->vba.DETBufferSizeC[k] = mode_lib->vba.DETBufferSizeInKByte[0] in dml20_DisplayPipeConfiguration()
3822 mode_lib->vba.DETBufferSizeInKByte[0] * 1024.0 / 2.0 in dml20_ModeSupportAndSystemConfigurationFull()
4325 …xSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBufferSizeInKByte[0] * 1024.0… in dml20_ModeSupportAndSystemConfigurationFull()
4334 …locals->LinesInDETLuma = locals->DETBufferSizeInKByte[0] * 1024 / locals->BytePerPixelInDETY[k] / … in dml20_ModeSupportAndSystemConfigurationFull()
4337 …locals->LinesInDETLuma = locals->DETBufferSizeInKByte[0] * 1024 / 2 / locals->BytePerPixelInDETY[k… in dml20_ModeSupportAndSystemConfigurationFull()
[all …]
Ddisplay_mode_vba_20v2.c2971 <= mode_lib->vba.DETBufferSizeInKByte[0] * 1024.0 / 2.0) { in dml20v2_DisplayPipeConfiguration()
2980 mode_lib->vba.DETBufferSizeY[k] = mode_lib->vba.DETBufferSizeInKByte[0] * 1024; in dml20v2_DisplayPipeConfiguration()
2983 mode_lib->vba.DETBufferSizeY[k] = mode_lib->vba.DETBufferSizeInKByte[0] in dml20v2_DisplayPipeConfiguration()
2985 mode_lib->vba.DETBufferSizeC[k] = mode_lib->vba.DETBufferSizeInKByte[0] in dml20v2_DisplayPipeConfiguration()
2988 mode_lib->vba.DETBufferSizeY[k] = mode_lib->vba.DETBufferSizeInKByte[0] in dml20v2_DisplayPipeConfiguration()
2990 mode_lib->vba.DETBufferSizeC[k] = mode_lib->vba.DETBufferSizeInKByte[0] in dml20v2_DisplayPipeConfiguration()
3929 mode_lib->vba.DETBufferSizeInKByte[0] * 1024.0 / 2.0 in dml20v2_ModeSupportAndSystemConfigurationFull()
4446 …xSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBufferSizeInKByte[0] * 1024.0… in dml20v2_ModeSupportAndSystemConfigurationFull()
4455 …locals->LinesInDETLuma = locals->DETBufferSizeInKByte[0] * 1024 / locals->BytePerPixelInDETY[k] / … in dml20v2_ModeSupportAndSystemConfigurationFull()
4458 …locals->LinesInDETLuma = locals->DETBufferSizeInKByte[0] * 1024 / 2 / locals->BytePerPixelInDETY[k… in dml20v2_ModeSupportAndSystemConfigurationFull()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c544 unsigned int DETBufferSizeInKByte,
654 unsigned int DETBufferSizeInKByte,
2941 v->DETBufferSizeInKByte[0],
3132 v->DETBufferSizeInKByte[0] * 1024,
3327 v->DETBufferSizeInKByte[0],
4114 v->DETBufferSizeInKByte[0],
4738 v->DETBufferSizeInKByte[0],
5422 v->DETBufferSizeInKByte[0],
6711 unsigned int DETBufferSizeInKByte, argument
6840 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c717 dml_uint_t DETBufferSizeInKByte[],
4200 p->DETBufferSizeInKByte, // per hubp pipe in CalculateSwathAndDETConfiguration()
4215 …ForPStateChange[k] == dml_use_mall_pstate_change_phantom_pipe ? 1024 : p->DETBufferSizeInKByte[k]); in CalculateSwathAndDETConfiguration()
4254 p->DETBufferSizeY[k] = p->DETBufferSizeInKByte[k] * 1024; in CalculateSwathAndDETConfiguration()
4260 p->DETBufferSizeY[k] = p->DETBufferSizeInKByte[k] * 1024 / 2; in CalculateSwathAndDETConfiguration()
4261 p->DETBufferSizeC[k] = p->DETBufferSizeInKByte[k] * 1024 / 2; in CalculateSwathAndDETConfiguration()
4266 p->DETBufferSizeY[k] = (dml_uint_t)(dml_floor(p->DETBufferSizeInKByte[k] * 1024 * 2 / 3, 1024)); in CalculateSwathAndDETConfiguration()
4267 p->DETBufferSizeC[k] = p->DETBufferSizeInKByte[k] * 1024 - p->DETBufferSizeY[k]; in CalculateSwathAndDETConfiguration()
4277 dml_print("DML::%s: k=%u DETBufferSizeInKByte = %u\n", __func__, k, p->DETBufferSizeInKByte[k]); in CalculateSwathAndDETConfiguration()
4827 dml_uint_t DETBufferSizeInKByte[], in CalculateDETBufferSize() argument
[all …]
Ddisplay_mode_core_structs.h795 …dml_uint_t DETBufferSizeInKByte[__DML_NUM_PLANES__]; // <brief Recommended DET size configuration … member
1202 …dml_uint_t DETBufferSizeInKByte[__DML_NUM_PLANES__]; // <brief Recommended DET size configuration… member
1454 dml_uint_t *DETBufferSizeInKByte; member