Searched refs:urgent_latency_ns (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hubbub.c | 188 if (safe_to_lower || watermarks->a.urgent_latency_ns > hubbub1->watermarks.a.urgent_latency_ns) { in hubbub21_program_urgent_watermarks() 189 hubbub1->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub21_program_urgent_watermarks() 190 prog_wm_value = convert_and_clamp(watermarks->a.urgent_latency_ns, in hubbub21_program_urgent_watermarks() 194 } else if (watermarks->a.urgent_latency_ns < hubbub1->watermarks.a.urgent_latency_ns) in hubbub21_program_urgent_watermarks() 233 if (safe_to_lower || watermarks->b.urgent_latency_ns > hubbub1->watermarks.b.urgent_latency_ns) { in hubbub21_program_urgent_watermarks() 234 hubbub1->watermarks.b.urgent_latency_ns = watermarks->b.urgent_latency_ns; in hubbub21_program_urgent_watermarks() 235 prog_wm_value = convert_and_clamp(watermarks->b.urgent_latency_ns, in hubbub21_program_urgent_watermarks() 239 } else if (watermarks->b.urgent_latency_ns < hubbub1->watermarks.b.urgent_latency_ns) in hubbub21_program_urgent_watermarks() 278 if (safe_to_lower || watermarks->c.urgent_latency_ns > hubbub1->watermarks.c.urgent_latency_ns) { in hubbub21_program_urgent_watermarks() 279 hubbub1->watermarks.c.urgent_latency_ns = watermarks->c.urgent_latency_ns; in hubbub21_program_urgent_watermarks() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hubbub.c | 197 if (safe_to_lower || watermarks->a.urgent_latency_ns > hubbub2->watermarks.a.urgent_latency_ns) { in hubbub31_program_urgent_watermarks() 198 hubbub2->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub31_program_urgent_watermarks() 199 prog_wm_value = convert_and_clamp(watermarks->a.urgent_latency_ns, in hubbub31_program_urgent_watermarks() 203 } else if (watermarks->a.urgent_latency_ns < hubbub2->watermarks.a.urgent_latency_ns) in hubbub31_program_urgent_watermarks() 241 if (safe_to_lower || watermarks->b.urgent_latency_ns > hubbub2->watermarks.b.urgent_latency_ns) { in hubbub31_program_urgent_watermarks() 242 hubbub2->watermarks.b.urgent_latency_ns = watermarks->b.urgent_latency_ns; in hubbub31_program_urgent_watermarks() 243 prog_wm_value = convert_and_clamp(watermarks->b.urgent_latency_ns, in hubbub31_program_urgent_watermarks() 247 } else if (watermarks->b.urgent_latency_ns < hubbub2->watermarks.b.urgent_latency_ns) in hubbub31_program_urgent_watermarks() 285 if (safe_to_lower || watermarks->c.urgent_latency_ns > hubbub2->watermarks.c.urgent_latency_ns) { in hubbub31_program_urgent_watermarks() 286 hubbub2->watermarks.c.urgent_latency_ns = watermarks->c.urgent_latency_ns; in hubbub31_program_urgent_watermarks() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hubbub.c | 214 if (safe_to_lower || watermarks->a.urgent_latency_ns > hubbub2->watermarks.a.urgent_latency_ns) { in hubbub32_program_urgent_watermarks() 215 hubbub2->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub32_program_urgent_watermarks() 216 prog_wm_value = convert_and_clamp(watermarks->a.urgent_latency_ns, in hubbub32_program_urgent_watermarks() 220 } else if (watermarks->a.urgent_latency_ns < hubbub2->watermarks.a.urgent_latency_ns) in hubbub32_program_urgent_watermarks() 258 if (safe_to_lower || watermarks->b.urgent_latency_ns > hubbub2->watermarks.b.urgent_latency_ns) { in hubbub32_program_urgent_watermarks() 259 hubbub2->watermarks.b.urgent_latency_ns = watermarks->b.urgent_latency_ns; in hubbub32_program_urgent_watermarks() 260 prog_wm_value = convert_and_clamp(watermarks->b.urgent_latency_ns, in hubbub32_program_urgent_watermarks() 264 } else if (watermarks->b.urgent_latency_ns < hubbub2->watermarks.b.urgent_latency_ns) in hubbub32_program_urgent_watermarks() 302 if (safe_to_lower || watermarks->c.urgent_latency_ns > hubbub2->watermarks.c.urgent_latency_ns) { in hubbub32_program_urgent_watermarks() 303 hubbub2->watermarks.c.urgent_latency_ns = watermarks->c.urgent_latency_ns; in hubbub32_program_urgent_watermarks() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | mem_input.h | 48 int32_t urgent_latency_ns; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn321/ |
H A D | dcn321_fpu.c | 629 if ((int)(dcn3_21_soc.urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn321_update_bw_bounding_box_fpu() 630 && dc->bb_overrides.urgent_latency_ns) { in dcn321_update_bw_bounding_box_fpu() 631 dcn3_21_soc.urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn321_update_bw_bounding_box_fpu() 632 dcn3_21_soc.urgent_latency_pixel_data_only_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn321_update_bw_bounding_box_fpu()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | dcn30_fpu.c | 448 …context->bw_ctx.bw.dcn.watermarks.b.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn30_fpu_calculate_wm_and_dlg() 518 …context->bw_ctx.bw.dcn.watermarks.c.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn30_fpu_calculate_wm_and_dlg() 541 …context->bw_ctx.bw.dcn.watermarks.a.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn30_fpu_calculate_wm_and_dlg()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1799 …context->bw_ctx.bw.dcn.watermarks.b.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn20_calculate_wm() 2000 if ((int)(bb->urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn20_patch_bounding_box() 2001 && dc->bb_overrides.urgent_latency_ns) { in dcn20_patch_bounding_box() 2002 bb->urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn20_patch_bounding_box() 2188 if (dc->bb_overrides.urgent_latency_ns) { in patch_bounding_box() 2189 bb->urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in patch_bounding_box() 2226 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
H A D | dcn301_fpu.c | 318 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.c | 2099 …context->bw_ctx.bw.dcn.watermarks.b.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn32_calculate_wm_and_dlg_fpu() 2195 …context->bw_ctx.bw.dcn.watermarks.c.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn32_calculate_wm_and_dlg_fpu() 2234 …context->bw_ctx.bw.dcn.watermarks.a.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn32_calculate_wm_and_dlg_fpu() 2718 if ((int)(dcn3_2_soc.urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn32_update_bw_bounding_box_fpu() 2719 && dc->bb_overrides.urgent_latency_ns) { in dcn32_update_bw_bounding_box_fpu() 2720 dcn3_2_soc.urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn32_update_bw_bounding_box_fpu() 2721 dcn3_2_soc.urgent_latency_pixel_data_only_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn32_update_bw_bounding_box_fpu()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 722 int urgent_latency_ns; member 793 int urgent_latency_ns; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 656 if ((int)(dc->dcn_soc->urgent_latency * 1000) != dc->debug.urgent_latency_ns in dcn_bw_apply_registry_override() 657 && dc->debug.urgent_latency_ns) { in dcn_bw_apply_registry_override() 659 dc->dcn_soc->urgent_latency = dc->debug.urgent_latency_ns / 1000.0; in dcn_bw_apply_registry_override()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | dcn31_fpu.c | 524 …context->bw_ctx.bw.dcn.watermarks.a.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn31_calculate_wm_and_dlg_fp()
|