/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/ |
D | dcn31_hubbub.c | 374 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub31_program_stutter_watermarks() 375 > hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) { in hubbub31_program_stutter_watermarks() 376 hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = in hubbub31_program_stutter_watermarks() 377 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns; in hubbub31_program_stutter_watermarks() 379 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, in hubbub31_program_stutter_watermarks() 385 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, prog_wm_value); in hubbub31_program_stutter_watermarks() 386 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub31_program_stutter_watermarks() 387 < hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) in hubbub31_program_stutter_watermarks() 390 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_ns in hubbub31_program_stutter_watermarks() 391 > hubbub2->watermarks.a.cstate_pstate.cstate_exit_ns) { in hubbub31_program_stutter_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/ |
D | dcn32_hubbub.c | 369 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub32_program_stutter_watermarks() 370 > hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) { in hubbub32_program_stutter_watermarks() 371 hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = in hubbub32_program_stutter_watermarks() 372 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns; in hubbub32_program_stutter_watermarks() 374 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, in hubbub32_program_stutter_watermarks() 380 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, prog_wm_value); in hubbub32_program_stutter_watermarks() 381 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub32_program_stutter_watermarks() 382 < hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) in hubbub32_program_stutter_watermarks() 385 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_ns in hubbub32_program_stutter_watermarks() 386 > hubbub2->watermarks.a.cstate_pstate.cstate_exit_ns) { in hubbub32_program_stutter_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn21/ |
D | dcn21_hubbub.c | 346 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub21_program_stutter_watermarks() 347 > hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) { in hubbub21_program_stutter_watermarks() 348 hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = in hubbub21_program_stutter_watermarks() 349 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns; in hubbub21_program_stutter_watermarks() 351 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, in hubbub21_program_stutter_watermarks() 358 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, prog_wm_value); in hubbub21_program_stutter_watermarks() 359 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub21_program_stutter_watermarks() 360 < hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) in hubbub21_program_stutter_watermarks() 363 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_ns in hubbub21_program_stutter_watermarks() 364 > hubbub1->watermarks.a.cstate_pstate.cstate_exit_ns) { in hubbub21_program_stutter_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn10/ |
D | dcn10_hubbub.c | 368 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub1_program_stutter_watermarks() 369 > hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) { in hubbub1_program_stutter_watermarks() 370 hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = in hubbub1_program_stutter_watermarks() 371 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns; in hubbub1_program_stutter_watermarks() 373 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, in hubbub1_program_stutter_watermarks() 379 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, prog_wm_value); in hubbub1_program_stutter_watermarks() 380 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub1_program_stutter_watermarks() 381 < hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) in hubbub1_program_stutter_watermarks() 384 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_ns in hubbub1_program_stutter_watermarks() 385 > hubbub1->watermarks.a.cstate_pstate.cstate_exit_ns) { in hubbub1_program_stutter_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn35/ |
D | dcn35_hubbub.c | 123 if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_z8_ns in hubbub35_program_stutter_z8_watermarks() 124 > hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_z8_ns) { in hubbub35_program_stutter_z8_watermarks() 125 hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_z8_ns = in hubbub35_program_stutter_z8_watermarks() 126 watermarks->a.cstate_pstate.cstate_enter_plus_exit_z8_ns; in hubbub35_program_stutter_z8_watermarks() 128 watermarks->a.cstate_pstate.cstate_enter_plus_exit_z8_ns, in hubbub35_program_stutter_z8_watermarks() 134 watermarks->a.cstate_pstate.cstate_enter_plus_exit_z8_ns, prog_wm_value); in hubbub35_program_stutter_z8_watermarks() 135 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_z8_ns in hubbub35_program_stutter_z8_watermarks() 136 < hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_z8_ns) in hubbub35_program_stutter_z8_watermarks() 139 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_z8_ns in hubbub35_program_stutter_z8_watermarks() 140 > hubbub2->watermarks.a.cstate_pstate.cstate_exit_z8_ns) { in hubbub35_program_stutter_z8_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 446 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn30_fpu_calculate_wm_and_dlg() 447 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn30_fpu_calculate_wm_and_dlg() 448 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn30_fpu_calculate_wm_and_dlg() 516 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn30_fpu_calculate_wm_and_dlg() 517 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn30_fpu_calculate_wm_and_dlg() 518 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn30_fpu_calculate_wm_and_dlg() 529 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0; in dcn30_fpu_calculate_wm_and_dlg() 539 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn30_fpu_calculate_wm_and_dlg() 540 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn30_fpu_calculate_wm_and_dlg() 541 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn30_fpu_calculate_wm_and_dlg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 566 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = 568 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = 570 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = 580 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = 582 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = 584 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = 601 context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_exit_ns = 603 context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_enter_plus_exit_ns = 605 context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns = 621 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns = [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_utils.c | 378 …watermark->cstate_pstate.cstate_enter_plus_exit_ns = dml_get_wm_stutter_enter_exit(dml_core_ctx) *… in dml2_extract_watermark_set() 379 watermark->cstate_pstate.cstate_exit_ns = dml_get_wm_stutter_exit(dml_core_ctx) * 1000; in dml2_extract_watermark_set() 380 watermark->cstate_pstate.pstate_change_ns = dml_get_wm_dram_clock_change(dml_core_ctx) * 1000; in dml2_extract_watermark_set() 385 watermark->cstate_pstate.fclk_pstate_change_ns = dml_get_wm_fclk_change(dml_core_ctx) * 1000; in dml2_extract_watermark_set() 387 …watermark->cstate_pstate.cstate_enter_plus_exit_z8_ns = dml_get_wm_z8_stutter_enter_exit(dml_core_… in dml2_extract_watermark_set() 388 watermark->cstate_pstate.cstate_exit_z8_ns = dml_get_wm_z8_stutter(dml_core_ctx) * 1000; in dml2_extract_watermark_set()
|
D | dml2_wrapper.c | 280 …>v20.g6_temp_read_watermark_set.cstate_pstate.fclk_pstate_change_ns = dml2->v20.g6_temp_read_water… in calculate_lowest_supported_state_for_temp_read() 659 …cstate_enter_plus_exit_z8_ns = context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus… in dml2_validate_and_build_resource() 665 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_z8_ns = cstate_enter_plus… in dml2_validate_and_build_resource()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
D | dcn301_fpu.c | 312 …wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) … in calculate_wm_set_for_vlevel() 313 wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 314 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(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 | 524 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn31_calculate_wm_and_dlg_fp() 525 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn31_calculate_wm_and_dlg_fp() 526 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn31_calculate_wm_and_dlg_fp() 527 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_z8_ns = cstate_enter_plus… in dcn31_calculate_wm_and_dlg_fp() 528 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_z8_ns = get_wm_z8_stutter_exit(&cont… in dcn31_calculate_wm_and_dlg_fp()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1802 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn20_calculate_wm() 1803 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn20_calculate_wm() 1804 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 1816 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn20_calculate_wm() 1817 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn20_calculate_wm() 1818 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 1829 …context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn20_calculate_wm() 1830 …context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn20_calculate_wm() 1831 …context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 1840 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn20_calculate_wm() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mem_input.h | 50 struct cstate_pstate_watermarks_st cstate_pstate; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 2440 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn32_calculate_wm_and_dlg_fpu() 2441 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn32_calculate_wm_and_dlg_fpu() 2442 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn32_calculate_wm_and_dlg_fpu() 2447 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.fclk_pstate_change_ns = get_fclk_watermark(&cont… in dcn32_calculate_wm_and_dlg_fpu() 2536 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn32_calculate_wm_and_dlg_fpu() 2537 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn32_calculate_wm_and_dlg_fpu() 2538 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn32_calculate_wm_and_dlg_fpu() 2547 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.fclk_pstate_change_ns = get_wm_dram_clock_change… in dcn32_calculate_wm_and_dlg_fpu() 2556 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0; in dcn32_calculate_wm_and_dlg_fpu() 2560 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.fclk_pstate_change_ns = get_fclk_watermark(&cont… in dcn32_calculate_wm_and_dlg_fpu() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 1054 …watermark->cstate_pstate.cstate_enter_plus_exit_ns = ((double)in_ctx->v21.mode_programming.program… in dml21_extract_legacy_watermark_set() 1055 …watermark->cstate_pstate.cstate_exit_ns = ((double)in_ctx->v21.mode_programming.programming->globa… in dml21_extract_legacy_watermark_set() 1056 …watermark->cstate_pstate.pstate_change_ns = ((double)in_ctx->v21.mode_programming.programming->glo… in dml21_extract_legacy_watermark_set() 1058 …watermark->cstate_pstate.fclk_pstate_change_ns = ((double)in_ctx->v21.mode_programming.programming… in dml21_extract_legacy_watermark_set()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
D | dcn20_hwseq.c | 2341 unsigned int cache_wm_a = context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns; in dcn20_prepare_bandwidth() 2354 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 4U * 1000U * 1000U * 1000U; in dcn20_prepare_bandwidth() 2370 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = cache_wm_a; in dcn20_prepare_bandwidth() 2398 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 4U * 1000U * 1000U * 1000U; in dcn20_optimize_bandwidth()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc_dmub_srv.c | 920 wm_val_refclk = context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns * in dc_dmub_setup_subvp_dmub_command()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
D | dcn30_resource.c | 2020 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 4U * 1000U * 1000U * 1000U; in dcn30_setup_mclk_switch_using_fw_based_vblank_stretch()
|