Home
last modified time | relevance | path

Searched refs:minDET_pipe (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn5_calcs_dchub.c521 l->minDET_pipe = 0; in dcn5_calculate_det_buffer_size()
524 while (l->minDET <= l->max_minDET && l->minDET_pipe == 0) { in dcn5_calculate_det_buffer_size()
526 l->minDET_pipe = l->minDET; in dcn5_calculate_det_buffer_size()
532 DML_LOG_VERBOSE("DML::%s: k=%u minDET_pipe = %u\n", __func__, k, l->minDET_pipe); in dcn5_calculate_det_buffer_size()
535 if (l->minDET_pipe == 0) { in dcn5_calculate_det_buffer_size()
536 …l->minDET_pipe = (unsigned int)(math_max2(128, math_ceil2(((double)full_swath_bytes_l[k] + (double… in dcn5_calculate_det_buffer_size()
537 …"DML::%s: k=%u minDET_pipe = %u (assume each plane take half DET)\n", __func__, k, l->minDET_pipe); in dcn5_calculate_det_buffer_size()
543 …} else if ((ForceSingleDPP ? 1 : DPPPerSurface[k]) * l->minDET_pipe <= l->DETBufferSizePoolInKByte… in dcn5_calculate_det_buffer_size()
544 DETBufferSizeInKByte[k] = l->minDET_pipe; in dcn5_calculate_det_buffer_size()
545 …olInKByte = l->DETBufferSizePoolInKByte - (ForceSingleDPP ? 1 : DPPPerSurface[k]) * l->minDET_pipe; in dcn5_calculate_det_buffer_size()
H A Ddml2_core_shared_types.h1609 unsigned int minDET_pipe; member