/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn21/ |
D | dcn21_hubbub.c | 153 if (safe_to_lower || watermarks->a.urgent_ns > hubbub1->watermarks.a.urgent_ns) { in hubbub21_program_urgent_watermarks() 154 hubbub1->watermarks.a.urgent_ns = watermarks->a.urgent_ns; in hubbub21_program_urgent_watermarks() 155 prog_wm_value = convert_and_clamp(watermarks->a.urgent_ns, in hubbub21_program_urgent_watermarks() 163 watermarks->a.urgent_ns, prog_wm_value); in hubbub21_program_urgent_watermarks() 164 } else if (watermarks->a.urgent_ns < hubbub1->watermarks.a.urgent_ns) in hubbub21_program_urgent_watermarks() 198 if (safe_to_lower || watermarks->b.urgent_ns > hubbub1->watermarks.b.urgent_ns) { in hubbub21_program_urgent_watermarks() 199 hubbub1->watermarks.b.urgent_ns = watermarks->b.urgent_ns; in hubbub21_program_urgent_watermarks() 200 prog_wm_value = convert_and_clamp(watermarks->b.urgent_ns, in hubbub21_program_urgent_watermarks() 208 watermarks->b.urgent_ns, prog_wm_value); in hubbub21_program_urgent_watermarks() 209 } else if (watermarks->b.urgent_ns < hubbub1->watermarks.b.urgent_ns) in hubbub21_program_urgent_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn10/ |
D | dcn10_hubbub.c | 255 if (safe_to_lower || watermarks->a.urgent_ns > hubbub1->watermarks.a.urgent_ns) { in hubbub1_program_urgent_watermarks() 256 hubbub1->watermarks.a.urgent_ns = watermarks->a.urgent_ns; in hubbub1_program_urgent_watermarks() 257 prog_wm_value = convert_and_clamp(watermarks->a.urgent_ns, in hubbub1_program_urgent_watermarks() 264 watermarks->a.urgent_ns, prog_wm_value); in hubbub1_program_urgent_watermarks() 265 } else if (watermarks->a.urgent_ns < hubbub1->watermarks.a.urgent_ns) in hubbub1_program_urgent_watermarks() 280 if (safe_to_lower || watermarks->b.urgent_ns > hubbub1->watermarks.b.urgent_ns) { in hubbub1_program_urgent_watermarks() 281 hubbub1->watermarks.b.urgent_ns = watermarks->b.urgent_ns; in hubbub1_program_urgent_watermarks() 282 prog_wm_value = convert_and_clamp(watermarks->b.urgent_ns, in hubbub1_program_urgent_watermarks() 289 watermarks->b.urgent_ns, prog_wm_value); in hubbub1_program_urgent_watermarks() 290 } else if (watermarks->b.urgent_ns < hubbub1->watermarks.b.urgent_ns) in hubbub1_program_urgent_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/ |
D | dcn32_hubbub.c | 180 if (safe_to_lower || watermarks->a.urgent_ns > hubbub2->watermarks.a.urgent_ns) { in hubbub32_program_urgent_watermarks() 181 hubbub2->watermarks.a.urgent_ns = watermarks->a.urgent_ns; in hubbub32_program_urgent_watermarks() 182 prog_wm_value = convert_and_clamp(watermarks->a.urgent_ns, in hubbub32_program_urgent_watermarks() 189 watermarks->a.urgent_ns, prog_wm_value); in hubbub32_program_urgent_watermarks() 190 } else if (watermarks->a.urgent_ns < hubbub2->watermarks.a.urgent_ns) in hubbub32_program_urgent_watermarks() 224 if (safe_to_lower || watermarks->b.urgent_ns > hubbub2->watermarks.b.urgent_ns) { in hubbub32_program_urgent_watermarks() 225 hubbub2->watermarks.b.urgent_ns = watermarks->b.urgent_ns; in hubbub32_program_urgent_watermarks() 226 prog_wm_value = convert_and_clamp(watermarks->b.urgent_ns, in hubbub32_program_urgent_watermarks() 233 watermarks->b.urgent_ns, prog_wm_value); in hubbub32_program_urgent_watermarks() 234 } else if (watermarks->b.urgent_ns < hubbub2->watermarks.b.urgent_ns) in hubbub32_program_urgent_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/ |
D | dcn31_hubbub.c | 185 if (safe_to_lower || watermarks->a.urgent_ns > hubbub2->watermarks.a.urgent_ns) { in hubbub31_program_urgent_watermarks() 186 hubbub2->watermarks.a.urgent_ns = watermarks->a.urgent_ns; in hubbub31_program_urgent_watermarks() 187 prog_wm_value = convert_and_clamp(watermarks->a.urgent_ns, in hubbub31_program_urgent_watermarks() 194 watermarks->a.urgent_ns, prog_wm_value); in hubbub31_program_urgent_watermarks() 195 } else if (watermarks->a.urgent_ns < hubbub2->watermarks.a.urgent_ns) in hubbub31_program_urgent_watermarks() 229 if (safe_to_lower || watermarks->b.urgent_ns > hubbub2->watermarks.b.urgent_ns) { in hubbub31_program_urgent_watermarks() 230 hubbub2->watermarks.b.urgent_ns = watermarks->b.urgent_ns; in hubbub31_program_urgent_watermarks() 231 prog_wm_value = convert_and_clamp(watermarks->b.urgent_ns, in hubbub31_program_urgent_watermarks() 238 watermarks->b.urgent_ns, prog_wm_value); in hubbub31_program_urgent_watermarks() 239 } else if (watermarks->b.urgent_ns < hubbub2->watermarks.b.urgent_ns) in hubbub31_program_urgent_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mem_input.h | 46 uint32_t urgent_ns; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 445 …context->bw_ctx.bw.dcn.watermarks.b.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn30_fpu_calculate_wm_and_dlg() 515 …context->bw_ctx.bw.dcn.watermarks.c.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn30_fpu_calculate_wm_and_dlg() 538 …context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn30_fpu_calculate_wm_and_dlg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 573 context->bw_ctx.bw.dcn.watermarks.b.urgent_ns = v->urgent_watermark * 1000; 587 context->bw_ctx.bw.dcn.watermarks.c.urgent_ns = v->urgent_watermark * 1000; 608 context->bw_ctx.bw.dcn.watermarks.d.urgent_ns = v->urgent_watermark * 1000; 628 context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = v->urgent_watermark * 1000; 1152 context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = v->urgent_watermark * 1000; in dcn_validate_bandwidth()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn30/ |
D | dcn30_hubbub.c | 382 uint32_t prog_wm_value = convert_and_clamp(hubbub1->watermarks.a.urgent_ns, in hubbub3_force_wm_propagate_to_pipes()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
D | dcn301_fpu.c | 311 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1801 …context->bw_ctx.bw.dcn.watermarks.b.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn20_calculate_wm() 1815 …context->bw_ctx.bw.dcn.watermarks.c.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn20_calculate_wm() 1828 …context->bw_ctx.bw.dcn.watermarks.d.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn20_calculate_wm() 1839 …context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn20_calculate_wm() 2226 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | dcn31_fpu.c | 523 …context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn31_calculate_wm_and_dlg_fp()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_utils.c | 377 watermark->urgent_ns = dml_get_wm_urgent(dml_core_ctx) * 1000; in dml2_extract_watermark_set()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 2439 …context->bw_ctx.bw.dcn.watermarks.b.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn32_calculate_wm_and_dlg_fpu() 2535 …context->bw_ctx.bw.dcn.watermarks.c.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn32_calculate_wm_and_dlg_fpu() 2574 …context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cn… in dcn32_calculate_wm_and_dlg_fpu()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 1052 …watermark->urgent_ns = ((double)in_ctx->v21.mode_programming.programming->global_regs.wm_regs[reg_… in dml21_extract_legacy_watermark_set()
|