/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/ |
D | dcn32_hubbub.c | 154 uint32_t refclk_mhz, in convert_and_clamp() argument 158 ret_val = wm_ns * refclk_mhz; in convert_and_clamp() 171 unsigned int refclk_mhz, in hubbub32_program_urgent_watermarks() argument 183 refclk_mhz, 0x3fff); in hubbub32_program_urgent_watermarks() 217 refclk_mhz, 0x3fff); in hubbub32_program_urgent_watermarks() 227 refclk_mhz, 0x3fff); in hubbub32_program_urgent_watermarks() 261 refclk_mhz, 0x3fff); in hubbub32_program_urgent_watermarks() 271 refclk_mhz, 0x3fff); in hubbub32_program_urgent_watermarks() 305 refclk_mhz, 0x3fff); in hubbub32_program_urgent_watermarks() 315 refclk_mhz, 0x3fff); in hubbub32_program_urgent_watermarks() [all …]
|
D | dcn32_hubbub.h | 122 unsigned int refclk_mhz, 128 unsigned int refclk_mhz, 134 unsigned int refclk_mhz, 140 unsigned int refclk_mhz,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn21/ |
D | dcn21_hubbub.c | 54 uint32_t refclk_mhz, in convert_and_clamp() argument 58 ret_val = wm_ns * refclk_mhz; in convert_and_clamp() 144 unsigned int refclk_mhz, in hubbub21_program_urgent_watermarks() argument 156 refclk_mhz, 0x1fffff); in hubbub21_program_urgent_watermarks() 191 refclk_mhz, 0x1fffff); in hubbub21_program_urgent_watermarks() 201 refclk_mhz, 0x1fffff); in hubbub21_program_urgent_watermarks() 236 refclk_mhz, 0x1fffff); in hubbub21_program_urgent_watermarks() 246 refclk_mhz, 0x1fffff); in hubbub21_program_urgent_watermarks() 281 refclk_mhz, 0x1fffff); in hubbub21_program_urgent_watermarks() 291 refclk_mhz, 0x1fffff); in hubbub21_program_urgent_watermarks() [all …]
|
D | dcn21_hubbub.h | 131 unsigned int refclk_mhz, 136 unsigned int refclk_mhz, 141 unsigned int refclk_mhz, 146 unsigned int refclk_mhz,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn10/ |
D | dcn10_hubbub.c | 220 uint32_t refclk_mhz, in convert_and_clamp() argument 224 ret_val = wm_ns * refclk_mhz; in convert_and_clamp() 246 unsigned int refclk_mhz, in hubbub1_program_urgent_watermarks() argument 258 refclk_mhz, 0x1fffff); in hubbub1_program_urgent_watermarks() 271 refclk_mhz, 0x1fffff); in hubbub1_program_urgent_watermarks() 283 refclk_mhz, 0x1fffff); in hubbub1_program_urgent_watermarks() 296 refclk_mhz, 0x1fffff); in hubbub1_program_urgent_watermarks() 308 refclk_mhz, 0x1fffff); in hubbub1_program_urgent_watermarks() 321 refclk_mhz, 0x1fffff); in hubbub1_program_urgent_watermarks() 333 refclk_mhz, 0x1fffff); in hubbub1_program_urgent_watermarks() [all …]
|
D | dcn10_hubbub.h | 472 unsigned int refclk_mhz, 495 unsigned int refclk_mhz, 500 unsigned int refclk_mhz, 505 unsigned int refclk_mhz,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/ |
D | dcn31_hubbub.c | 157 uint32_t refclk_mhz, in convert_and_clamp() argument 161 ret_val = wm_ns * refclk_mhz; in convert_and_clamp() 176 unsigned int refclk_mhz, in hubbub31_program_urgent_watermarks() argument 188 refclk_mhz, 0x3fff); in hubbub31_program_urgent_watermarks() 222 refclk_mhz, 0x3fff); in hubbub31_program_urgent_watermarks() 232 refclk_mhz, 0x3fff); in hubbub31_program_urgent_watermarks() 266 refclk_mhz, 0x3fff); in hubbub31_program_urgent_watermarks() 276 refclk_mhz, 0x3fff); in hubbub31_program_urgent_watermarks() 310 refclk_mhz, 0x3fff); in hubbub31_program_urgent_watermarks() 320 refclk_mhz, 0x3fff); in hubbub31_program_urgent_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn35/ |
D | dcn35_hubbub.c | 97 uint32_t refclk_mhz, in convert_and_clamp() argument 102 ret_val = wm_ns * refclk_mhz; in convert_and_clamp() 115 unsigned int refclk_mhz, in hubbub35_program_stutter_z8_watermarks() argument 129 refclk_mhz, 0xfffff); in hubbub35_program_stutter_z8_watermarks() 145 refclk_mhz, 0xfffff); in hubbub35_program_stutter_z8_watermarks() 163 refclk_mhz, 0xfffff); in hubbub35_program_stutter_z8_watermarks() 179 refclk_mhz, 0xfffff); in hubbub35_program_stutter_z8_watermarks() 196 refclk_mhz, 0xfffff); in hubbub35_program_stutter_z8_watermarks() 212 refclk_mhz, 0xfffff); in hubbub35_program_stutter_z8_watermarks() 229 refclk_mhz, 0xfffff); in hubbub35_program_stutter_z8_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn201/ |
D | dcn201_hubbub.c | 56 unsigned int refclk_mhz, in hubbub201_program_watermarks() argument 62 if (hubbub1_program_urgent_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub201_program_watermarks() 65 if (hubbub1_program_pstate_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub201_program_watermarks() 69 DCHUBBUB_ARB_SAT_LEVEL, 60 * refclk_mhz); in hubbub201_program_watermarks()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn30/ |
D | dcn30_hubbub.c | 51 uint32_t refclk_mhz, in convert_and_clamp() argument 55 ret_val = wm_ns * refclk_mhz; in convert_and_clamp() 99 unsigned int refclk_mhz, in hubbub3_program_watermarks() argument 105 if (hubbub21_program_urgent_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub3_program_watermarks() 108 if (hubbub21_program_stutter_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub3_program_watermarks() 111 if (hubbub21_program_pstate_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub3_program_watermarks() 128 DCHUBBUB_ARB_SAT_LEVEL, 60 * refclk_mhz); in hubbub3_program_watermarks() 381 uint32_t refclk_mhz = hubbub->ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in hubbub3_force_wm_propagate_to_pipes() local 383 refclk_mhz, 0x1fffff); in hubbub3_force_wm_propagate_to_pipes()
|
D | dcn30_hubbub.h | 128 unsigned int refclk_mhz,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn401/ |
D | dcn401_hubbub.h | 132 unsigned int refclk_mhz, 138 unsigned int refclk_mhz, 144 unsigned int refclk_mhz, 150 unsigned int refclk_mhz,
|
D | dcn401_hubbub.c | 70 unsigned int refclk_mhz, in hubbub401_program_urgent_watermarks() argument 188 unsigned int refclk_mhz, in hubbub401_program_stutter_watermarks() argument 287 unsigned int refclk_mhz, in hubbub401_program_pstate_watermarks() argument 414 unsigned int refclk_mhz, in hubbub401_program_usr_watermarks() argument 453 unsigned int refclk_mhz, in hubbub401_program_watermarks() argument 458 if (hubbub401_program_urgent_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub401_program_watermarks() 461 if (hubbub401_program_stutter_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub401_program_watermarks() 464 if (hubbub401_program_pstate_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub401_program_watermarks() 467 if (hubbub401_program_usr_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub401_program_watermarks()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/ |
D | dcn20_hubbub.c | 595 unsigned int refclk_mhz, in hubbub2_program_watermarks() argument 604 if (hubbub1_program_urgent_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub2_program_watermarks() 607 if (hubbub1_program_stutter_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub2_program_watermarks() 619 if (hubbub1_program_pstate_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub2_program_watermarks() 623 DCHUBBUB_ARB_SAT_LEVEL, 60 * refclk_mhz); in hubbub2_program_watermarks()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dchubbub.h | 188 unsigned int refclk_mhz,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml_display_rq_dlg_calc.c | 217 …n_mhz = (hw->DLGRefClkFreqMHz > 0) ? (dml_float_t) hw->DLGRefClkFreqMHz : mode_lib->soc.refclk_mhz; in dml_rq_dlg_get_dlg_reg() 274 dml_print("DML_DLG: %s: soc.refclk_mhz = %3.2f\n", __func__, mode_lib->soc.refclk_mhz); in dml_rq_dlg_get_dlg_reg()
|
D | dml2_translation_helper.c | 249 out->refclk_mhz = dml2->config.bbox_overrides.dchub_refclk_mhz; in dml2_init_socbb_params() 657 out->refclk_mhz = 50; // As per hardcoded reference. in dml2_translate_socbb_params()
|
D | display_mode_util.c | 655 dml_print("DML: soc_bbox: refclk_mhz = %f\n", soc->refclk_mhz); in dml_print_soc_bounding_box()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_structs.h | 551 double refclk_mhz; member
|
D | display_mode_lib.c | 279 dml_print("DML PARAMS: refclk_mhz = %3.2f\n", clks_cfg->refclk_mhz); in dml_log_pipe_params()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_rq_dlg_calc_32.c | 236 double refclk_freq_in_mhz = clks->refclk_mhz; in dml32_rq_dlg_get_dlg_reg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1368 pipes[pipe_cnt].clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; in dcn20_populate_dml_pipes_from_context() 1746 pipes[pipe_cnt].clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; in dcn20_calculate_wm() 2257 pipes[pipe_cnt].clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; in dcn21_calculate_wm()
|
D | display_rq_dlg_calc_20.c | 811 double refclk_freq_in_mhz = clks->refclk_mhz; in dml20_rq_dlg_get_dlg_params()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 362 …WritebackAllowDRAMClockChangeEndPosition[cur_pipe] * pipes[0].clks_cfg.refclk_mhz; /* num_clock_cy… in dcn30_fpu_set_mcif_arb_params()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 857 double refclk_freq_in_mhz = clks->refclk_mhz; in dml_rq_dlg_get_dlg_params()
|