Home
last modified time | relevance | path

Searched refs:HostVMDynamicLevels (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c715 unsigned int HostVMDynamicLevels; in CalculatePrefetchSchedule() local
721 HostVMDynamicLevels = myHostVM->MaxPageTableLevels in CalculatePrefetchSchedule()
725 HostVMDynamicLevels = 0; in CalculatePrefetchSchedule()
822 …dml_max(UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1… in CalculatePrefetchSchedule()
830 dml_max(UrgentLatency * (HostVMDynamicLevels + 1), dml_max(LineTime - Tvm_oto, LineTime / 4))); in CalculatePrefetchSchedule()
879 UrgentLatency * (1 + HostVMDynamicLevels)); in CalculatePrefetchSchedule()
888 * (HostVMDynamicLevels + 1) - 1)); in CalculatePrefetchSchedule()
895 * (HostVMDynamicLevels + 1) - 1) - 2 * UrgentLatency * in CalculatePrefetchSchedule()
896 (1 + HostVMDynamicLevels)); in CalculatePrefetchSchedule()
901HostVMDynamicLevels + 1) - 1) && (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / … in CalculatePrefetchSchedule()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2307 unsigned int HostVMDynamicLevels = 0; in dml32_CalculateVMAndRowBytes() local
2315 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels; in dml32_CalculateVMAndRowBytes()
2317 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1); in dml32_CalculateVMAndRowBytes()
2319 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2); in dml32_CalculateVMAndRowBytes()
2418 PDEAndMetaPTEBytesFrame = PDEAndMetaPTEBytesFrame * (1 + 8 * HostVMDynamicLevels); in dml32_CalculateVMAndRowBytes()
2509 *PixelPTEBytesPerRow = *PixelPTEBytesPerRow * (1 + 8 * HostVMDynamicLevels); in dml32_CalculateVMAndRowBytes()
3164 unsigned int HostVMDynamicLevels; in dml32_CalculateExtraLatencyBytes() local
3168 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels; in dml32_CalculateExtraLatencyBytes()
3170 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1); in dml32_CalculateExtraLatencyBytes()
3172 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2); in dml32_CalculateExtraLatencyBytes()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c1701 unsigned int HostVMDynamicLevels = 0; in CalculateVMAndRowBytes() local
1707 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels; in CalculateVMAndRowBytes()
1709 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1); in CalculateVMAndRowBytes()
1711 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2); in CalculateVMAndRowBytes()
1769 PDEAndMetaPTEBytesFrame = PDEAndMetaPTEBytesFrame * (1 + 8 * HostVMDynamicLevels); in CalculateVMAndRowBytes()
1831 *PixelPTEBytesPerRow = *PixelPTEBytesPerRow * (1 + 8 * HostVMDynamicLevels); in CalculateVMAndRowBytes()
6453 int HostVMDynamicLevels = 0; in CalculateExtraLatencyBytes() local
6459 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels; in CalculateExtraLatencyBytes()
6461 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1); in CalculateExtraLatencyBytes()
6463 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2); in CalculateExtraLatencyBytes()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c1836 unsigned int HostVMDynamicLevels = 0; local
1841 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels;
1843 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1);
1845 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2);
1915 PDEAndMetaPTEBytesFrame = PDEAndMetaPTEBytesFrame * (1 + 8 * HostVMDynamicLevels);
1969 *PixelPTEBytesPerRow = *PixelPTEBytesPerRow * (1 + 8 * HostVMDynamicLevels);
6985 int HostVMDynamicLevels = 0, k; local
6989 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels;
6991 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1);
6993 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2);
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1853 unsigned int HostVMDynamicLevels = 0; local
1858 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels;
1860 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1);
1862 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2);
1932 PDEAndMetaPTEBytesFrame = PDEAndMetaPTEBytesFrame * (1 + 8 * HostVMDynamicLevels);
1986 *PixelPTEBytesPerRow = *PixelPTEBytesPerRow * (1 + 8 * HostVMDynamicLevels);
7075 int HostVMDynamicLevels = 0, k; local
7079 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels;
7081 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1);
7083 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2);
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c4515 dml_uint_t HostVMDynamicLevels = 0; in CalculateHostVMDynamicLevels() local
4519 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels; in CalculateHostVMDynamicLevels()
4521HostVMDynamicLevels = (dml_uint_t) dml_max(0, (dml_float_t) HostVMMaxNonCachedPageTableLevels - 1); in CalculateHostVMDynamicLevels()
4523HostVMDynamicLevels = (dml_uint_t) dml_max(0, (dml_float_t) HostVMMaxNonCachedPageTableLevels - 2); in CalculateHostVMDynamicLevels()
4525 HostVMDynamicLevels = 0; in CalculateHostVMDynamicLevels()
4527 return HostVMDynamicLevels; in CalculateHostVMDynamicLevels()
4544 …dml_uint_t HostVMDynamicLevels = CalculateHostVMDynamicLevels(GPUVMEnable, HostVMEnable, HostVMMi… in CalculateExtraLatencyBytes() local
4549 …ret = ret + NumberOfDPP[k] * dpte_group_bytes[k] * (1 + 8 * HostVMDynamicLevels) * HostVMInefficie… in CalculateExtraLatencyBytes()
5055 …s->HostVMDynamicLevels = CalculateHostVMDynamicLevels(p->GPUVMEnable, p->HostVMEnable, p->HostVMMi… in CalculateVMRowAndSwath()
5216 …] = (s->PDEAndMetaPTEBytesFrameY + s->PDEAndMetaPTEBytesFrameC) * (1 + 8 * s->HostVMDynamicLevels); in CalculateVMRowAndSwath()
[all …]
Ddisplay_mode_core_structs.h1752 dml_uint_t HostVMDynamicLevels; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared_types.h1098 unsigned int HostVMDynamicLevels; member
Ddml2_core_shared.c4271 unsigned int HostVMDynamicLevels = 0; in CalculateHostVMDynamicLevels() local
4275 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels; in CalculateHostVMDynamicLevels()
4277 HostVMDynamicLevels = (unsigned int)math_max2(0, (double)HostVMMaxNonCachedPageTableLevels - 1); in CalculateHostVMDynamicLevels()
4279 HostVMDynamicLevels = (unsigned int)math_max2(0, (double)HostVMMaxNonCachedPageTableLevels - 2); in CalculateHostVMDynamicLevels()
4281 HostVMDynamicLevels = 0; in CalculateHostVMDynamicLevels()
4283 return HostVMDynamicLevels; in CalculateHostVMDynamicLevels()
5555 …s->HostVMDynamicLevels = CalculateHostVMDynamicLevels(p->display_cfg->gpuvm_enable, p->display_cfg… in CalculateVMRowAndSwath()
5732 p->vm_bytes[k] = (s->vm_bytes_l + s->vm_bytes_c) * (1 + 8 * s->HostVMDynamicLevels); in CalculateVMRowAndSwath()
5757 dml2_printf("DML::%s: k=%u, HostVMDynamicLevels = %u\n", __func__, k, s->HostVMDynamicLevels); in CalculateVMRowAndSwath()
5821 s->PixelPTEBytesPerRowY[k] = s->PixelPTEBytesPerRowY[k] * (1 + 8 * s->HostVMDynamicLevels); in CalculateVMRowAndSwath()
[all …]
Ddml2_core_dcn4_calcs.c1594 unsigned int HostVMDynamicLevels = 0; in CalculateHostVMDynamicLevels() local
1598 HostVMDynamicLevels = HostVMMaxNonCachedPageTableLevels; in CalculateHostVMDynamicLevels()
1600 HostVMDynamicLevels = (unsigned int)math_max2(0, (double)HostVMMaxNonCachedPageTableLevels - 1); in CalculateHostVMDynamicLevels()
1602 HostVMDynamicLevels = (unsigned int)math_max2(0, (double)HostVMMaxNonCachedPageTableLevels - 2); in CalculateHostVMDynamicLevels()
1604 HostVMDynamicLevels = 0; in CalculateHostVMDynamicLevels()
1606 return HostVMDynamicLevels; in CalculateHostVMDynamicLevels()
2892 …s->HostVMDynamicLevels = CalculateHostVMDynamicLevels(p->display_cfg->gpuvm_enable, p->display_cfg… in CalculateVMRowAndSwath()
3062 p->vm_bytes[k] = (s->vm_bytes_l + s->vm_bytes_c) * (1 + 8 * s->HostVMDynamicLevels); in CalculateVMRowAndSwath()
3089 dml2_printf("DML::%s: k=%u, HostVMDynamicLevels = %u\n", __func__, k, s->HostVMDynamicLevels); in CalculateVMRowAndSwath()
3153 s->PixelPTEBytesPerRowY[k] = s->PixelPTEBytesPerRowY[k] * (1 + 8 * s->HostVMDynamicLevels); in CalculateVMRowAndSwath()
[all …]