Home
last modified time | relevance | path

Searched refs:UrgentWatermark (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/
Ddml2_dpmm_dcn4.c716 …CHUB_WATERMARK_SET_A].urgent = (int unsigned)(mode_lib->mp.Watermark.UrgentWatermark * refclk_freq… in dpmm_dcn4_map_watermarks()
718 …ET_A].refcyc_per_trip_to_mem = (unsigned int)(mode_lib->mp.Watermark.UrgentWatermark * refclk_freq… in dpmm_dcn4_map_watermarks()
719 ….refcyc_per_meta_trip_to_mem = (unsigned int)(mode_lib->mp.Watermark.UrgentWatermark * refclk_freq… in dpmm_dcn4_map_watermarks()
730 …CHUB_WATERMARK_SET_B].urgent = (int unsigned)(mode_lib->mp.Watermark.UrgentWatermark * refclk_freq… in dpmm_dcn4_map_watermarks()
732 …ET_B].refcyc_per_trip_to_mem = (unsigned int)(mode_lib->mp.Watermark.UrgentWatermark * refclk_freq… in dpmm_dcn4_map_watermarks()
733 ….refcyc_per_meta_trip_to_mem = (unsigned int)(mode_lib->mp.Watermark.UrgentWatermark * refclk_freq… in dpmm_dcn4_map_watermarks()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h68 double UrgentWatermark; member
Ddisplay_mode_vba.h548 double UrgentWatermark; member
Ddisplay_mode_vba.c89 dml_get_attr_func(wm_urgent, mode_lib->vba.UrgentWatermark);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c346 double *UrgentWatermark,
2793 &v->UrgentWatermark, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2941 v->UrgentWatermark)); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2947 v->UrgentWatermark); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2951 v->MinTTUVBlank[k] = v->UrgentWatermark; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
5070 &v->UrgentWatermark, in dml30_ModeSupportAndSystemConfigurationFull()
5242 double *UrgentWatermark, in CalculateWatermarksAndDRAMSpeedChangeSupport()
5277 *UrgentWatermark = UrgentLatency + ExtraLatency; in CalculateWatermarksAndDRAMSpeedChangeSupport()
5279 *DRAMClockChangeWatermark = DRAMClockChangeLatency + *UrgentWatermark; in CalculateWatermarksAndDRAMSpeedChangeSupport()
5322 …ncyMarginY = EffectiveLBLatencyHidingY + FullDETBufferingTimeY[k] - *UrgentWatermark - (HTotal[k] … in CalculateWatermarksAndDRAMSpeedChangeSupport()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c335 double *UrgentWatermark,
2467 &mode_lib->vba.UrgentWatermark, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2572 mode_lib->vba.UrgentWatermark)); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2578 mode_lib->vba.UrgentWatermark); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2582 locals->MinTTUVBlank[k] = mode_lib->vba.UrgentWatermark; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
5037 &mode_lib->vba.UrgentWatermark, in dml21_ModeSupportAndSystemConfigurationFull()
5292 double *UrgentWatermark, in CalculateWatermarksAndDRAMSpeedChangeSupport()
5336 *UrgentWatermark = UrgentLatency + ExtraLatency; in CalculateWatermarksAndDRAMSpeedChangeSupport()
5338 *DRAMClockChangeWatermark = DRAMClockChangeLatency + *UrgentWatermark; in CalculateWatermarksAndDRAMSpeedChangeSupport()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_32.c1226 v->UrgentWatermark = v->Watermark.UrgentWatermark; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1370 v->Watermark.UrgentWatermark); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1374 v->Watermark.StutterEnterPlusExitWatermark, v->Watermark.UrgentWatermark); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1378 v->Watermark.UrgentWatermark); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1380 v->MinTTUVBlank[k] = v->Watermark.UrgentWatermark; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
3753 mode_lib->vba.UrgentWatermark = mode_lib->vba.Watermark.UrgentWatermark; in dml32_ModeSupportAndSystemConfigurationFull()
Ddisplay_mode_vba_util_32.c4322 v->Watermark.UrgentWatermark = mmSOCParameters.UrgentLatency + mmSOCParameters.ExtraLatency; in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
4325 …k.DRAMClockChangeWatermark = mmSOCParameters.DRAMClockChangeLatency + v->Watermark.UrgentWatermark; in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
4326 …->Watermark.FCLKChangeWatermark = mmSOCParameters.FCLKChangeLatency + v->Watermark.UrgentWatermark; in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
4340 dml_print("DML::%s: UrgentWatermark = %f\n", __func__, v->Watermark.UrgentWatermark); in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
4459 …tiveDRAMClockChangeLatencyMargin[k] = ActiveClockChangeLatencyHiding - v->Watermark.UrgentWatermark in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
4461 ActiveFCLKChangeLatencyMargin[k] = ActiveClockChangeLatencyHiding - v->Watermark.UrgentWatermark in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20v2.c1518 mode_lib->vba.UrgentWatermark = mode_lib->vba.UrgentLatencyPixelDataOnly in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1523 DTRACE(" wm_urgent = %fus", mode_lib->vba.UrgentWatermark); in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1544 + mode_lib->vba.UrgentWatermark; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1809 - mode_lib->vba.UrgentWatermark; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2413 mode_lib->vba.UrgentWatermark)); in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2419 mode_lib->vba.UrgentWatermark); in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2423 mode_lib->vba.MinTTUVBlank[k] = mode_lib->vba.UrgentWatermark; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2644 dml_max(mode_lib->vba.StutterEnterPlusExitWatermark, mode_lib->vba.UrgentWatermark)) in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
Ddisplay_mode_vba_20.c1482 mode_lib->vba.UrgentWatermark = mode_lib->vba.UrgentLatencyPixelDataOnly in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1487 DTRACE(" wm_urgent = %fus", mode_lib->vba.UrgentWatermark); in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1508 + mode_lib->vba.UrgentWatermark; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1773 - mode_lib->vba.UrgentWatermark; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2379 mode_lib->vba.UrgentWatermark)); in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2385 mode_lib->vba.UrgentWatermark); in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2389 mode_lib->vba.MinTTUVBlank[k] = mode_lib->vba.UrgentWatermark; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c3090 dml_max(v->StutterEnterPlusExitWatermark, v->UrgentWatermark));
3094 v->MinTTUVBlank[k] = dml_max(v->StutterEnterPlusExitWatermark, v->UrgentWatermark);
3098 v->MinTTUVBlank[k] = v->UrgentWatermark;
5589 v->UrgentWatermark = UrgentLatency + ExtraLatency;
5594 dml_print("DML::%s: UrgentWatermark = %f\n", __func__, v->UrgentWatermark);
5597 v->DRAMClockChangeWatermark = v->DRAMClockChangeLatency + v->UrgentWatermark;
5662 …l[k] + v->DSTYAfterScaler[k]) * v->HTotal[k] / v->PixelClock[k] - v->UrgentWatermark - v->DRAMCloc…
5671 …l[k] + v->DSTYAfterScaler[k]) * v->HTotal[k] / v->PixelClock[k] - v->UrgentWatermark - v->DRAMCloc…
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c3109 dml_max(v->StutterEnterPlusExitWatermark, v->UrgentWatermark));
3113 v->MinTTUVBlank[k] = dml_max(v->StutterEnterPlusExitWatermark, v->UrgentWatermark);
3117 v->MinTTUVBlank[k] = v->UrgentWatermark;
5683 v->UrgentWatermark = UrgentLatency + ExtraLatency;
5688 dml_print("DML::%s: UrgentWatermark = %f\n", __func__, v->UrgentWatermark);
5691 v->DRAMClockChangeWatermark = v->DRAMClockChangeLatency + v->UrgentWatermark;
5756 …l[k] + v->DSTYAfterScaler[k]) * v->HTotal[k] / v->PixelClock[k] - v->UrgentWatermark - v->DRAMCloc…
5765 …l[k] + v->DSTYAfterScaler[k]) * v->HTotal[k] / v->PixelClock[k] - v->UrgentWatermark - v->DRAMCloc…
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared_types.h193 double UrgentWatermark; member
Ddml2_core_dcn4_calcs.c307 dml_get_var_func(wm_urgent, double, mode_lib->mp.Watermark.UrgentWatermark);
6416 p->Watermark->UrgentWatermark = p->mmSOCParameters.UrgentLatency + p->mmSOCParameters.ExtraLatency; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
6419 dml2_printf("DML::%s: UrgentWatermark = %f\n", __func__, p->Watermark->UrgentWatermark); in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
6423 …AMClockChangeWatermark = p->mmSOCParameters.DRAMClockChangeLatency + p->Watermark->UrgentWatermark; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
6424 …ermark->FCLKChangeWatermark = p->mmSOCParameters.FCLKChangeLatency + p->Watermark->UrgentWatermark; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
6435 …mp_read_watermark_us = p->mmSOCParameters.g6_temp_read_blackout_us + p->Watermark->UrgentWatermark; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
6443 dml2_printf("DML::%s: UrgentWatermark = %f\n", __func__, p->Watermark->UrgentWatermark); in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
11741 wm_regs->urgent = (int unsigned)(mode_lib->mp.Watermark.UrgentWatermark * refclk_freq_in_mhz); in rq_dlg_get_wm_regs()
Ddml2_core_shared.c8723 p->Watermark->UrgentWatermark = p->mmSOCParameters.UrgentLatency + p->mmSOCParameters.ExtraLatency; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
8726 dml2_printf("DML::%s: UrgentWatermark = %f\n", __func__, p->Watermark->UrgentWatermark); in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
8730 …AMClockChangeWatermark = p->mmSOCParameters.DRAMClockChangeLatency + p->Watermark->UrgentWatermark; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
8731 …ermark->FCLKChangeWatermark = p->mmSOCParameters.FCLKChangeLatency + p->Watermark->UrgentWatermark; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
8743 dml2_printf("DML::%s: UrgentWatermark = %f\n", __func__, p->Watermark->UrgentWatermark); in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
11435 wm_regs->urgent = (int unsigned)(mode_lib->mp.Watermark.UrgentWatermark * refclk_freq_in_mhz); in rq_dlg_get_wm_regs()
12180 out->informative.watermarks.urgent_us = mode_lib->mp.Watermark.UrgentWatermark; in dml2_core_shared_get_informative()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c2827 p->Watermark->UrgentWatermark = p->mmSOCParameters.UrgentLatency + p->mmSOCParameters.ExtraLatency; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
2829 …AMClockChangeWatermark = p->mmSOCParameters.DRAMClockChangeLatency + p->Watermark->UrgentWatermark; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
2830 …ermark->FCLKChangeWatermark = p->mmSOCParameters.FCLKChangeLatency + p->Watermark->UrgentWatermark; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
2840 dml_print("DML::%s: UrgentWatermark = %f\n", __func__, p->Watermark->UrgentWatermark); in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
2938 …LatencyMargin[k] = s->ActiveClockChangeLatencyHiding - p->Watermark->UrgentWatermark - p->Watermar… in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
2939 …LatencyMargin[k] = s->ActiveClockChangeLatencyHiding - p->Watermark->UrgentWatermark - p->Watermar… in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
9613 locals->Watermark.UrgentWatermark); in dml_core_mode_programming()
9618 locals->Watermark.UrgentWatermark); in dml_core_mode_programming()
9622 locals->Watermark.UrgentWatermark); in dml_core_mode_programming()
9624 locals->MinTTUVBlank[k] = locals->Watermark.UrgentWatermark; in dml_core_mode_programming()
[all …]
Ddisplay_mode_core_structs.h443 dml_float_t UrgentWatermark; member