/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 450 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 …]
|
H A D | display_mode_vba_util_32.h | 139 unsigned int DETBufferSizeInKByte[], 213 unsigned int DETBufferSizeInKByte[],
|
H A D | display_mode_vba_32.c | 291 mode_lib->vba.DETBufferSizeInKByte, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3722 mode_lib->vba.DETBufferSizeInKByte[k] = in dml32_ModeSupportAndSystemConfigurationFull()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 301 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() 3817 v->DETBufferSizeInKByte[0], in dml30_ModeSupportAndSystemConfigurationFull() 4282 v->DETBufferSizeInKByte[0], in dml30_ModeSupportAndSystemConfigurationFull() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 292 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 536 unsigned int DETBufferSizeInKByte[], 646 unsigned int DETBufferSizeInKByte, 2932 v->DETBufferSizeInKByte[0], 3122 v->DETBufferSizeInKByte[k] * 1024, 3318 v->DETBufferSizeInKByte, 3784 …ThisState[], unsigned int config_return_buffer_size_in_kbytes, unsigned int DETBufferSizeInKByte[]) argument 3789 …DETBufferSizeInKByte[0] = ((config_return_buffer_size_in_kbytes - DCN3_15_MIN_COMPBUF_SIZE_KB) / 6… 3790 if (DETBufferSizeInKByte[0] > DCN3_15_MAX_DET_SIZE) 3791 DETBufferSizeInKByte[0] = DCN3_15_MAX_DET_SIZE; 3793 DETBufferSizeInKByte[i] = DETBufferSizeInKByte[0]; [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.c | 285 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()
|
H A D | display_mode_vba.h | 371 unsigned int DETBufferSizeInKByte[DC__NUM_DPP__MAX]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 2898 <= 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 /… 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 …]
|
H A D | display_mode_vba_20v2.c | 2971 <= 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 /… 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 547 unsigned int DETBufferSizeInKByte, 657 unsigned int DETBufferSizeInKByte, 2952 v->DETBufferSizeInKByte[0], 3143 v->DETBufferSizeInKByte[0] * 1024, 3338 v->DETBufferSizeInKByte[0], 4126 v->DETBufferSizeInKByte[0], 4749 v->DETBufferSizeInKByte[0], 5433 v->DETBufferSizeInKByte[0], 6722 unsigned int DETBufferSizeInKByte, argument 6851 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { [all …]
|